diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-05-30 22:55:24 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-05-30 22:55:24 +0000 |
commit | 944219bb7764206b59a5ea6e44ec52db39793161 (patch) | |
tree | 2de70412d29edff70d7cf68c2c9722195f581536 /apps/action.c | |
parent | 48b47801e737202b575aeadb39b8bb99942f85a2 (diff) | |
download | rockbox-944219bb7764206b59a5ea6e44ec52db39793161.tar.gz rockbox-944219bb7764206b59a5ea6e44ec52db39793161.zip |
(Simulator) Touchscreen improvements.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17662 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/action.c')
-rw-r--r-- | apps/action.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/action.c b/apps/action.c index 89d6a7ae7a..5d0f994862 100644 --- a/apps/action.c +++ b/apps/action.c @@ -308,6 +308,9 @@ int action_get_touchpad_press(short *x, short *y) return BUTTON_REPEAT; if (short_press) return BUTTON_REL; + /* this is to give a BUTTON_REL after a BUTTON_REPEAT */ + if (last_button & BUTTON_REL) + return BUTTON_REL; return BUTTON_TOUCHPAD; } #endif |