forked from len0rd/rockbox
M:Robe 100: add button definition/bitmaps to plugins and enable compilation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16469 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9876d91e35
commit
d6c8b57b50
56 changed files with 507 additions and 26 deletions
|
@ -226,8 +226,23 @@ PLUGIN_HEADER
|
|||
#define CB_SCROLL_LEFT (BUTTON_RC_REW|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_RIGHT (BUTTON_RC_FF|BUTTON_REPEAT)
|
||||
|
||||
#elif (CONFIG_KEYPAD == MROBE100_PAD)
|
||||
#define CB_SELECT BUTTON_SELECT
|
||||
#define CB_UP BUTTON_UP
|
||||
#define CB_DOWN BUTTON_DOWN
|
||||
#define CB_LEFT BUTTON_LEFT
|
||||
#define CB_RIGHT BUTTON_RIGHT
|
||||
#define CB_PLAY BUTTON_POWER
|
||||
#define CB_LEVEL BUTTON_MENU
|
||||
#define CB_MENU BUTTON_DISPLAY
|
||||
|
||||
#define CB_SCROLL_UP (BUTTON_UP|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_DOWN (BUTTON_DOWN|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_REPEAT)
|
||||
|
||||
#else
|
||||
#error CHESSBOX: Unsupported keypad
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
||||
/* Tile size defined by the assigned bitmap */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue