diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-10-13 14:16:44 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-10-13 14:16:44 +0000 |
commit | ea60436cd8b26dc375993eede6b98653f00e2548 (patch) | |
tree | 6e542d9e9bd84e24ddfb04f752a28adbb311bbe3 /uisimulator | |
parent | f84d6bf886a0f99122faf1156664cac32afe9808 (diff) | |
download | rockbox-ea60436cd8b26dc375993eede6b98653f00e2548.tar.gz rockbox-ea60436cd8b26dc375993eede6b98653f00e2548.zip |
slow down the button check function, this makes the cube look sane in the
simulator
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2605 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r-- | uisimulator/x11/button-x11.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/uisimulator/x11/button-x11.c b/uisimulator/x11/button-x11.c index e93290f89e..d1310d71e2 100644 --- a/uisimulator/x11/button-x11.c +++ b/uisimulator/x11/button-x11.c | |||
@@ -196,6 +196,10 @@ int button_get(bool block) | |||
196 | break; | 196 | break; |
197 | } while(1); | 197 | } while(1); |
198 | 198 | ||
199 | if(!block) | ||
200 | /* delay a bit */ | ||
201 | x11_sleep(1); | ||
202 | |||
199 | return bits; | 203 | return bits; |
200 | } | 204 | } |
201 | 205 | ||