mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-13 15:12:30 -05:00
FS#8708: D2/m:robe500 touchscreen keymaps by Andreas Mueller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17261 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6b9b508aab
commit
297e0504da
53 changed files with 1418 additions and 364 deletions
|
|
@ -70,14 +70,27 @@ PLUGIN_HEADER
|
|||
# define FLASHLIGHT_RIGHT BUTTON_RIGHT
|
||||
|
||||
#elif CONFIG_KEYPAD == COWOND2_PAD
|
||||
# define FLASHLIGHT_LEFT BUTTON_LEFT
|
||||
# define FLASHLIGHT_RIGHT BUTTON_RIGHT
|
||||
|
||||
#else
|
||||
# error Missing key definitions for this keypad
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TOUCHPAD
|
||||
# ifndef FLASHLIGHT_LEFT
|
||||
# define FLASHLIGHT_LEFT BUTTON_MIDLEFT
|
||||
# endif
|
||||
# ifndef FLASHLIGHT_RIGHT
|
||||
# define FLASHLIGHT_RIGHT BUTTON_MIDRIGHT
|
||||
# endif
|
||||
# ifndef FLASHLIGHT_NEXT
|
||||
# define FLASHLIGHT_NEXT BUTTON_TOPMIDDLE
|
||||
# endif
|
||||
# ifndef FLASHLIGHT_PREV
|
||||
# define FLASHLIGHT_PREV BUTTON_BOTTOMMIDDLE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
static struct plugin_api* rb; /* global api struct pointer */
|
||||
|
||||
#ifdef HAVE_LCD_COLOR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue