summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2009-12-01Provide "Wacom Button Actions" property and associated button actions.Peter Hutterer2-4/+18
This patch adds a new property that's a list of property references on the same device. The property contains WCM_MAXBUTTONS atoms, each of which provides a zero-terminated sequence of actions to be performed when that button is pressed (but not when released). Possible actions are a combination of AC_* flags and - if appropriate - a value. For example, assume a property with the following values is set for "Wcm Button Actions"[1]: AC_KEY | AC_KEYBTNPRESS | XK_A AC_KEY | XK_A AC_KEY | AC_KEYBTNPRESS | XK_b AC_KEY | XK_c AC_KEY | AC_KEYBTNPRESS | XK_c AC_KEY | XK_c AC_KEY | AC_KEYBTNPRESS | XK_Control_L AC_KEY | AC_KEYBTNPRESS | XK_c AC_KEY | XK_c AC_KEY | XK_Control_L AC_BUTTON | AC_KEYBTNPRESS | 1 AC_BUTTON | 1 AC_BUTTON | AC_KEYBTNPRESS | 1 AC_BUTTON | 1 If button 2 is pressed on this device, the device sends key events equivalend to typing "Abc", Control+C and finally executes a double-click on button 1. If a button has no action set, the default button event for this button is sent. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-26Remove XWACOM_PARAM_* definitions - unused now.Peter Hutterer1-122/+0
They are required for the old configuration interface through DeviceCtrls. With the switch to properties, these defines are now unused. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-18Remove spurious executable bits from source files.Peter Hutterer1-0/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-11-10Add wacom-properties header file.Peter Hutterer2-2/+77
2009-08-03Purge old ABI support from the driver, add property support.Ping Cheng1-13/+19
This is unfortunately one giant commit. It removes support for pre 1.6 servers and the various ifdef's around the code to protect against funkyness of the various X server versions. This patch also adds property support to the wacom driver. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-03Set up the default xf86-input-* directory structure, autotool.Ping Cheng2-0/+172
This version does not build as-is due to missing include files and headers that are about to be purged anyway. It does pass the autoconf stage. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>