diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2009-08-04 03:08:32 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2009-08-04 03:08:32 +0000 |
commit | 594b6e2b496e69ca843b21bf04810bdb919099a7 (patch) | |
tree | 046af11c0c199fae3e41006f5aff39b4f6539f4f /apps/plugins/solitaire.c | |
parent | 11ac0b3f2a7d2abc0ae6127752559b1ffafbebff (diff) |
Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann with improvements and bitmap graphics by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/solitaire.c')
-rw-r--r-- | apps/plugins/solitaire.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c index 2291eaceb9..993ba47ec6 100644 --- a/apps/plugins/solitaire.c +++ b/apps/plugins/solitaire.c @@ -398,6 +398,27 @@ PLUGIN_HEADER #elif (CONFIG_KEYPAD == ONDAVX747_PAD) || CONFIG_KEYPAD == MROBE500_PAD # define SOL_QUIT BUTTON_POWER +#elif (CONFIG_KEYPAD == SAMSUNG_YH_PAD) +# define SOL_QUIT BUTTON_REC +# define SOL_UP BUTTON_UP +# define SOL_DOWN BUTTON_DOWN +# define SOL_LEFT_PRE BUTTON_LEFT +# define SOL_LEFT (BUTTON_LEFT | BUTTON_REW) +# define SOL_RIGHT_PRE BUTTON_RIGHT +# define SOL_RIGHT (BUTTON_RIGHT | BUTTON_REW) +# define SOL_MOVE BUTTON_PLAY +# define SOL_DRAW_PRE (BUTTON_PLAY | BUTTON_RIGHT) +# define SOL_DRAW (BUTTON_PLAY | BUTTON_LEFT) +# define SOL_REM2CUR BUTTON_FFWD +# define SOL_CUR2STACK BUTTON_REW +# define SOL_REM2STACK_PRE (BUTTON_FFWD | BUTTON_RIGHT) +# define SOL_REM2STACK (BUTTON_FFWD | BUTTON_LEFT) +# define HK_MOVE "PLAY" +# define HK_DRAW "REW.." +# define HK_REM2CUR "FFWD" +# define HK_CUR2STACK "REW" +# define HK_REM2STACK "FFWD.." + #else #error No keymap defined! #endif |