From 134829d911c698704595014ba402516ae9a2f36c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 7 Aug 2008 17:34:54 +0930 Subject: Simplify the property handler registration. Instead of having separate handlers for each property, just handle all of them in one handler for emuMB, and one handler for emuWheel. --- src/evdev.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/evdev.h') diff --git a/src/evdev.h b/src/evdev.h index 91e382f..a0a336a 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -101,16 +101,10 @@ void EvdevMBEmuEnable(InputInfoPtr, BOOL); unsigned int EvdevUtilButtonEventToButtonNumber(int code); #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 3 -Atom EvdevMBEmuInitProperty(DeviceIntPtr, char*); -Atom EvdevMBEmuInitPropertyTimeout(DeviceIntPtr, char*); +void EvdevMBEmuInitProperty(DeviceIntPtr); BOOL EvdevMBEmuSetProperty(DeviceIntPtr, Atom, XIPropertyValuePtr); -Atom EvdevWheelEmuInitProperty(DeviceIntPtr, char*); -Atom EvdevWheelEmuInitPropertyXMap(DeviceIntPtr, char*); -Atom EvdevWheelEmuInitPropertyYMap(DeviceIntPtr, char*); -Atom EvdevWheelEmuInitPropertyInertia(DeviceIntPtr, char*); -Atom EvdevWheelEmuInitPropertyButton(DeviceIntPtr, char*); - +void EvdevWheelEmuInitProperty(DeviceIntPtr); BOOL EvdevWheelEmuSetProperty(DeviceIntPtr, Atom, XIPropertyValuePtr); #endif -- cgit v1.2.3