mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
hm60x/hm801: Buttons rework.
- Add BUTTON_POWER. - hm60x: Rename BUTTON_PLAY to more proper BUTTON_SELECT, which will make it possible to unify hm60x and hm801 keymaps in some plugins. Change-Id: I84715cdbc79d00c1bc2e8e6bd492159ad3c3422b
This commit is contained in:
parent
a92a0fecca
commit
8361c1d901
3 changed files with 9 additions and 7 deletions
|
|
@ -22,12 +22,13 @@
|
|||
#define _BUTTON_TARGET_H_
|
||||
|
||||
#define BUTTON_UP 0x00000001
|
||||
#define BUTTON_POWER 0x00000002
|
||||
#define BUTTON_DOWN 0x00000004
|
||||
#define BUTTON_LEFT 0x00000008
|
||||
#define BUTTON_RIGHT 0x00000010
|
||||
#define BUTTON_PLAY 0x00000020
|
||||
#define BUTTON_SELECT 0x00000020
|
||||
|
||||
#define POWEROFF_BUTTON 0x02
|
||||
#define POWEROFF_BUTTON BUTTON_POWER
|
||||
#define POWEROFF_COUNT 30
|
||||
|
||||
#endif /* _BUTTON_TARGET_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue