[Linuxwacom-devel] [PATCH] xsetwacom: Use effective XKB group number in keysym_to_keycode

2015-01-12 Thread Jason Gerecke
XKB allows a user to define multiple groups (layouts) for their keyboard, switching between them on the fly. When converting keycodes to KeySyms one has to be careful about which group they look at. Not every keycode has to define KeySyms for every available group, and XKB calculates an effective

[Linuxwacom-devel] [PATCH input-wacom 01/11] HID: wacom: Report ABS_TILT_{X, Y} as signed values

2015-01-12 Thread Jason Gerecke
Centers the ABS_TILT_{X,Y} axes so that a value of zero is reported when the pen is vertical. Combined with resolution information in the next patch, this makes it possible for userspace to calculate the pen angle without needing hardware-specific knowledge. The xf86-input-wacom driver was updated

[Linuxwacom-devel] [PATCH input-wacom 11/11] HID: wacom: Report input events for each finger on generic devices

2015-01-12 Thread Jason Gerecke
The existing generic touch code only reports events after reading an entire HID report, which practically means that only data about the last contact in a report will ever be provided to userspace. This patch uses a trick from hid-multitouch.c to discover what type of field is at the end of each

[Linuxwacom-devel] [PATCH input-wacom 07/11] HID: wacom: re-add accidentally dropped Lenovo PID

2015-01-12 Thread Jason Gerecke
From: Benjamin Tissoires benjamin.tissoi...@redhat.com Dropped in the following commit: commit a3e6f6543d19 (Input: wacom - keep wacom_ids ordered) Reported-by: Hans Spath inbox-...@hans-spath.de CC: sta...@vger.kernel.org# v3.17+ Signed-off-by: Benjamin Tissoires

[Linuxwacom-devel] [PATCH input-wacom 06/11] Backport: make hid_report_len as a static inline function in hid.h

2015-01-12 Thread Jason Gerecke
Signed-off-by: Jason Gerecke killert...@gmail.com --- 3.17/wacom_sys.c | 12 1 file changed, 12 insertions(+) diff --git a/3.17/wacom_sys.c b/3.17/wacom_sys.c index 8b841e5..40a70f3 100644 --- a/3.17/wacom_sys.c +++ b/3.17/wacom_sys.c @@ -1321,6 +1321,14 @@ static void

[Linuxwacom-devel] [PATCH input-wacom 09/11] Backport: Add support for DTU-1031X

2015-01-12 Thread Jason Gerecke
From: Jason Gerecke jason.gere...@wacom.com Signed-off-by: Jason Gerecke killert...@gmail.com --- 2.6.30/wacom_wac.c | 5 + 2.6.30/wacom_wac.h | 1 + 2.6.36/wacom_wac.c | 7 +++ 2.6.36/wacom_wac.h | 1 + 2.6.38/wacom_wac.c | 7 +++ 2.6.38/wacom_wac.h | 1 + 3.7/wacom_wac.c| 7

[Linuxwacom-devel] [PATCH input-wacom 02/11] HID: wacom: Add angular resolution data to some ABS axes

2015-01-12 Thread Jason Gerecke
Provide the resolution of several angular axes (tilt, pen rotation, puck rotation) to userspace. Because these values are natively degree-based, we need to convert them to into units/radian as required by the input_absinfo struct. To ensure wraparound behaves properly for the rotation axes, the

[Linuxwacom-devel] [PATCH input-wacom 00/11] Linux 3.19 backports

2015-01-12 Thread Jason Gerecke
The following patches have been merged by linus into his 3.19 tree and need to be applied to input-wacom as well. Benjamin Tissoires (1): HID: wacom: re-add accidentally dropped Lenovo PID Jason Gerecke (7): HID: wacom: Report ABS_TILT_{X,Y} as signed values HID: wacom: Add angular

Re: [Linuxwacom-devel] [PATCH input-wacom 00/11] Linux 3.19 backports

2015-01-12 Thread Benjamin Tissoires
Hi Jason, On Mon, Jan 12, 2015 at 2:48 PM, Jason Gerecke killert...@gmail.com wrote: The following patches have been merged by linus into his 3.19 tree and need to be applied to input-wacom as well. Benjamin Tissoires (1): HID: wacom: re-add accidentally dropped Lenovo PID Jason Gerecke

Re: [Linuxwacom-devel] [PATCH input-wacom 04/11] HID: wacom: Consult the application usage when determining field type

2015-01-12 Thread Jason Gerecke
Re-sending patches 4/11 and 10/11 to the list since it seems they disappeared somewhere before hitting the mailinglist... Jason --- Now instead of four in the eights place / you’ve got three, ‘Cause you added one / (That is to say, eight) to the two, / But you can’t take seven from three,