summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-05-15 14:08:17 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-05-15 14:08:17 +0000
commit4bf27eccdd91c9999e1bcbfe6350193498e30e96 (patch)
tree7efdc2f7eff27b42a6ae6fce58fe869493e779ca /apps
parent6ddc38c02179427a82fc49a49c984bdaa4f39b99 (diff)
downloadrockbox-4bf27eccdd91c9999e1bcbfe6350193498e30e96.tar.gz
rockbox-4bf27eccdd91c9999e1bcbfe6350193498e30e96.zip
another LAME for colombo... fix the sansa wheel; in solitaire
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13391 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/solitaire.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c
index 85d4efd3a9..9dbeaebfa4 100644
--- a/apps/plugins/solitaire.c
+++ b/apps/plugins/solitaire.c
@@ -1271,6 +1271,10 @@ int solitaire( void )
/* what to do when a key is pressed ... */
button = rb->button_get( true );
+#if (CONFIG_KEYPAD == SANSA_E200_PAD)
+ if (button&(BUTTON_SCROLL_UP|BUTTON_SCROLL_DOWN))
+ button = button & (~BUTTON_REPEAT);
+#endif
switch( button )
{
/* move cursor to the last card of the previous column