diff options
Diffstat (limited to 'uisimulator/x11')
-rw-r--r-- | uisimulator/x11/button-x11.c | 23 |
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) +{ +} |