summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11/button-x11.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-07-21 08:02:23 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-07-21 08:02:23 +0000
commita754dd84b82c9aa92e7b94d0154e67500607a6a7 (patch)
treeea8f4865df30e90bdddebbe61f37aacbf19f0058 /uisimulator/x11/button-x11.c
parent69697aefe84f3e576daad595259a8dd16b00ea99 (diff)
downloadrockbox-a754dd84b82c9aa92e7b94d0154e67500607a6a7.tar.gz
rockbox-a754dd84b82c9aa92e7b94d0154e67500607a6a7.tar.bz2
rockbox-a754dd84b82c9aa92e7b94d0154e67500607a6a7.zip
Added raw button reading functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4907 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/button-x11.c')
-rw-r--r--uisimulator/x11/button-x11.c23
1 files changed, 9 insertions, 14 deletions
diff --git a/uisimulator/x11/button-x11.c b/uisimulator/x11/button-x11.c
index 1b2c19232f..6567c2a9bc 100644
--- a/uisimulator/x11/button-x11.c
+++ b/uisimulator/x11/button-x11.c
@@ -33,20 +33,6 @@ void button_init()
{
}
-int button_set_repeat(int newmask)
-{
- int oldmask = repeat_mask;
- repeat_mask = newmask;
- return oldmask;
-}
-
-int button_set_release(int newmask)
-{
- int oldmask = release_mask;
- release_mask = newmask;
- return oldmask;
-}
-
/*
* Translate X keys to Recorder keys
*
@@ -214,3 +200,12 @@ int button_get(bool block)
return bits;
}
+
+int button_status(void)
+{
+ return get_raw_button();
+}
+
+void button_clear_queue(void)
+{
+}