diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-08 10:22:26 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-12-13 13:24:08 +1000 |
commit | 1d01e861b69d7ca8fe2335270b8286bc115fb6e9 (patch) | |
tree | a1fba70e6d868ef95100800f3ed2df63e0296834 /include | |
parent | fb010c543696b781a83b945f72865b7d7b75bf95 (diff) |
dix: split out core state and event state setting into helper functions
no functional changes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/inpututils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/inpututils.h b/include/inpututils.h index 5f9dfecc3..96ad6df4d 100644 --- a/include/inpututils.h +++ b/include/inpututils.h @@ -40,6 +40,8 @@ struct _ValuatorMask { extern void verify_internal_event(const InternalEvent *ev); extern void init_device_event(DeviceEvent *event, DeviceIntPtr dev, Time ms); +extern int event_get_corestate(DeviceIntPtr mouse, DeviceIntPtr kbd); +extern void event_set_state(DeviceIntPtr mouse, DeviceIntPtr kbd, DeviceEvent *event); FP3232 double_to_fp3232(double in); FP1616 double_to_fp1616(double in); |