summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-10-13 14:16:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-10-13 14:16:44 +0000
commitea60436cd8b26dc375993eede6b98653f00e2548 (patch)
tree6e542d9e9bd84e24ddfb04f752a28adbb311bbe3 /uisimulator/x11
parentf84d6bf886a0f99122faf1156664cac32afe9808 (diff)
downloadrockbox-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/x11')
-rw-r--r--uisimulator/x11/button-x11.c4
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)
break;
} while(1);
+ if(!block)
+ /* delay a bit */
+ x11_sleep(1);
+
return bits;
}