summaryrefslogtreecommitdiff
path: root/uisimulator/x11
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11')
-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()
33{ 33{
34} 34}
35 35
36int button_set_repeat(int newmask)
37{
38 int oldmask = repeat_mask;
39 repeat_mask = newmask;
40 return oldmask;
41}
42
43int button_set_release(int newmask)
44{
45 int oldmask = release_mask;
46 release_mask = newmask;
47 return oldmask;
48}
49
50/* 36/*
51 * Translate X keys to Recorder keys 37 * Translate X keys to Recorder keys
52 * 38 *
@@ -214,3 +200,12 @@ int button_get(bool block)
214 200
215 return bits; 201 return bits;
216} 202}
203
204int button_status(void)
205{
206 return get_raw_button();
207}
208
209void button_clear_queue(void)
210{
211}