Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
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>
|
|
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>
|