mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Sansa Clip: Do not return HOLD status in button_read_device()
It is read separately, and so backlight/buttonlight can be disabled while hold switch is on git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19302 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6eae16ae82
commit
6840cd1277
2 changed files with 1 additions and 5 deletions
|
|
@ -45,11 +45,10 @@ bool button_hold(void);
|
|||
#define BUTTON_SELECT 0x00000080
|
||||
|
||||
#define BUTTON_POWER 0x00000100
|
||||
#define BUTTON_HOLD 0x00000200
|
||||
|
||||
#define BUTTON_MAIN (BUTTON_HOME|BUTTON_VOL_UP|BUTTON_VOL_DOWN\
|
||||
|BUTTON_UP|BUTTON_DOWN|BUTTON_LEFT|BUTTON_RIGHT\
|
||||
|BUTTON_SELECT|BUTTON_POWER|BUTTON_HOLD)
|
||||
|BUTTON_SELECT|BUTTON_POWER)
|
||||
|
||||
#define BUTTON_REMOTE 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue