forked from len0rd/rockbox
Removed all traces of the repeat and release masks
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2684 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7ec35e7828
commit
e45c069d69
3 changed files with 13 additions and 60 deletions
|
|
@ -28,8 +28,6 @@ extern long last_keypress;
|
|||
void button_init (void);
|
||||
int button_get (bool block);
|
||||
int button_get_w_tmo(int ticks);
|
||||
int button_set_repeat(int newmask);
|
||||
int button_set_release(int newmask);
|
||||
|
||||
/* Shared button codes */
|
||||
#define BUTTON_NONE 0x0000
|
||||
|
|
@ -59,9 +57,6 @@ int button_set_release(int newmask);
|
|||
#define BUTTON_F2 0x0200
|
||||
#define BUTTON_F3 0x0400
|
||||
|
||||
#define DEFAULT_REPEAT_MASK (BUTTON_LEFT | BUTTON_RIGHT | \
|
||||
BUTTON_UP | BUTTON_DOWN)
|
||||
|
||||
#define ALL_BUTTONS (BUTTON_ON | BUTTON_UP | BUTTON_DOWN | BUTTON_LEFT | \
|
||||
BUTTON_RIGHT | BUTTON_OFF | BUTTON_PLAY | BUTTON_F1 | \
|
||||
BUTTON_F2 | BUTTON_F3)
|
||||
|
|
@ -73,15 +68,11 @@ int button_set_release(int newmask);
|
|||
#define BUTTON_PLAY BUTTON_UP
|
||||
#define BUTTON_STOP BUTTON_DOWN
|
||||
|
||||
#define DEFAULT_REPEAT_MASK (BUTTON_LEFT | BUTTON_RIGHT)
|
||||
|
||||
#define ALL_BUTTONS (BUTTON_ON | BUTTON_UP | BUTTON_DOWN | BUTTON_LEFT | \
|
||||
BUTTON_RIGHT | BUTTON_MENU)
|
||||
|
||||
#endif /* HAVE_PLAYER_KEYPAD */
|
||||
|
||||
#define DEFAULT_RELEASE_MASK ALL_BUTTONS
|
||||
|
||||
#endif
|
||||
|
||||
/* -----------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue