Right now the driver has two seperate ways of handling things: raw
buttons and actions. The former are used on startup, and the latter
set up by xsetwacom. Having two different ways of handling things
leads to some redundancies that make the code more complex than
it needs to be.

This patch set removes raw button support from the core of the driver.
Setting raw buttons haven't been supported at the driver's interfaces
for some time, with the only exceptions being the xorg.conf "ButtonN"
option (which should continue to work after this patch is applied) and
the strip/wheel properties (which is now like the button property and
does not allow raw buttons to be set).

I'd be interested if somebody could test this patch set under GNOME 3.4.
I'm having trouble getting the Wacom control panel to map buttons even
without these patches applied, and would like to have confidence that
this doesn't break anything :)

Jason Gerecke (7):
  Directly index into the various *keys arrays
  Replace multiple default variables with arrays
  Remove support for 8-bit (raw button) strip/ring properties
  Cleanup call chain for action properties
  Initialize action properties from defaults
  Reset-on-None for Actions property
  Remove raw button fallback codepaths from wcmCommon

 src/wcmCommon.c         |   85 +++-------
 src/wcmConfig.c         |   24 +--
 src/wcmValidateDevice.c |   10 +-
 src/wcmXCommand.c       |  424 ++++++++++++++++++++++-------------------------
 src/xf86WacomDefs.h     |   57 +++----
 tools/xsetwacom.c       |   31 ++--
 6 files changed, 287 insertions(+), 344 deletions(-)

-- 
1.7.9.5


------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to