As you may be aware, xf86-input-wacom utilises input device properties to
set a couple of driver-specific options at runtime. This is quite different
to linuxwacom where run-time changing is performed via ChangeDeviceControl
requests. This difference in run-time parameter changes had the side-effect
of a broken xsetwacom.
I've just pushed the re-implementation of xsetwacom to the xsetwacom branch
in my repository (it'd be a bit of a patchbomb sending all patches to the
list).
It's not a 1:1 replacement yet but most commands are available and should
work as before. The user interface for most commands has stayed the same,
some commands (e.g. key mappings) have changed slightly or are available in
multiple versions (e.g. GNU style parameters).
I'll be merging this branch into master early next week. If you have the
time for testing already, feel free to give it a crack and complain to me if
your favourite command doesn't do what it used to do.
The code is fairly straightforward, so feel free to send patches to fix
whatever is broken.
Cheers,
Peter
The following changes since commit e1cbd668de52ff3f35c8cc1ca362adc019935288:
Peter Hutterer (1):
Support future udev backend.
are available in the git repository at:
git://people.freedesktop.org/~whot/xf86-input-wacom.git xsetwacom
Peter Hutterer (32):
Add tools/xsetwacom, currently a stub.
xsetwacom: Implement xsetwacom list.
xsetwacom: Add find_device() helper function.
xsetwacom: Add property hooks for xsetwacom set/get support.
xsetwacom: Support xsetwacom set <name> Button1 for buttons and
references.
xsetwacom: allow for multi-value properties (PressCurve)
xsetwacom: implement rel/abs mode setting.
xsetwacom: fill in property for TPCButton, RawFilter, ClickForce.
xsetwacom: announce not-implemented options and parameters as such.
xsetwacom: remove SpeedLevel and Accel options.
xsetwacom: implement 'xsetwacom get' for basic properties.
xsetwacom: remove CoreEvent option - not a driver choice.
xsetwacom: Remove getdefault option, not implemented anyway.
xsetwacom: keystroke button mapping support.
xsetwacom: add "-" and "+" notation and modifier parsing to key sending.
xsetwacom: split func into set_func and get_func.
xsetwacom: Add special hook for 'get PressCurve'
xsetwacom: implement "get Button1" for simple mappings.
xsetwacom: abstract extracting the button number.
xsetwacom: don't try to get/set nonexistant buttons.
xsetwacom: a few parameters aren't implemented for get either.
xsetwacom: error out if a property offset doesn't exist.
xsetwacom: support get/set rotate.
xsetwacom: implement get_mode.
xsetwacom: switch to use of named initializers.
xsetwacom: implement verbosity.
xsetwacom: support GNU-style for --list, --get, etc.
xsetwacom: plug minor memory leak in set()
xsetwacom: implement xyDefault - reset to driver-internal defaults.
xsetwacom: enable -x and -s get flags
xsetwacom: Be more flexible for multi-value properties.
xsetwacom: handle string commands for TwinView setting
Makefile.am | 2 +-
configure.ac | 8 +-
src/wcmXCommand.c | 1 +
tools/Makefile.am | 28 +
tools/xsetwacom.c | 1912 +++++++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 1949 insertions(+), 2 deletions(-)
create mode 100644 tools/Makefile.am
create mode 100644 tools/xsetwacom.c
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel