[Linuxwacom-devel] [PATCH v3 libwacom 2/3] Allow matching on the name too

2015-03-13 Thread Benjamin Tissoires
To support generic tablets, we need to extend the matching pattern of libwacom. The Huion tablets reuse the same VID:PID accross all of the products. To be able to differentiate between the models, we can somewhat rely on the name of the product. It doesn't seem very reliable (for instance, the H61

[Linuxwacom-devel] [PATCH v3 libwacom 3/3] Add Huion H610 Pro entry

2015-03-13 Thread Benjamin Tissoires
--- no changes in v3 data/huion-h610-pro.tablet | 23 ++ data/layouts/huion-h610-pro.svg | 153 data/libwacom.stylus| 7 ++ 3 files changed, 183 insertions(+) create mode 100644 data/huion-h610-pro.tablet create mode 100644 data/

[Linuxwacom-devel] [PATCH v3 libwacom 1/3] use g_key_file_get_string_list to retrieve DeviceMatch

2015-03-13 Thread Benjamin Tissoires
The match count (and update to the first correct) has to be done in libwacom_parse_tablet_keyfile() now. --- changes in v3: - libwacom_matchstr_to_match now returns a gboolean new in v2 libwacom/libwacom-database.c | 81 +--- 1 file changed, 39 insertions

Re: [Linuxwacom-devel] [PATCH v2 libwacom 1/3] use g_key_file_get_string_list to retrieve DeviceMatch

2015-03-13 Thread Bastien Nocera
On Fri, 2015-03-13 at 14:57 -0400, Benjamin Tissoires wrote: > The match count (and update to the first correct) has to be done in > libwacom_parse_tablet_keyfile() now. > --- > > New in v2 (requested by Bastien) > > libwacom/libwacom-database.c | 76 +- > ---

[Linuxwacom-devel] [PATCH v2 libwacom 1/3] use g_key_file_get_string_list to retrieve DeviceMatch

2015-03-13 Thread Benjamin Tissoires
The match count (and update to the first correct) has to be done in libwacom_parse_tablet_keyfile() now. --- New in v2 (requested by Bastien) libwacom/libwacom-database.c | 76 +--- 1 file changed, 36 insertions(+), 40 deletions(-) diff --git a/libwacom/l

[Linuxwacom-devel] [PATCH v2 libwacom 3/3] Add Huion H610 Pro entry

2015-03-13 Thread Benjamin Tissoires
--- changed in v2: - renamed 0xd stylus in "General Pen with no Eraser" data/huion-h610-pro.tablet | 23 ++ data/layouts/huion-h610-pro.svg | 153 data/libwacom.stylus| 7 ++ 3 files changed, 183 insertions(+) create mode 1006

[Linuxwacom-devel] [PATCH v2 libwacom 2/3] Allow matching on the name too

2015-03-13 Thread Benjamin Tissoires
To support generic tablets, we need to extend the matching pattern of libwacom. The Huion tablets reuse the same VID:PID accross all of the products. To be able to differentiate between the models, we can somewhat rely on the name of the product. It doesn't seem very reliable (for instance, the H61

Re: [Linuxwacom-devel] [PATCH libwacom 1/2] Allow matching on the name too

2015-03-13 Thread Benjamin Tissoires
On Mar 13 2015 or thereabouts, Bastien Nocera wrote: > On Fri, 2015-03-13 at 11:30 -0400, Benjamin Tissoires wrote: > > To support generic tablets, we need to extend the matching pattern > > of libwacom. The Huion tablets reuse the same VID:PID accross all of > > the products. To be able to diffe

Re: [Linuxwacom-devel] [PATCH libwacom 2/2] Add Huion H610 Pro entry

2015-03-13 Thread Benjamin Tissoires
On Mar 13 2015 or thereabouts, Bastien Nocera wrote: > On Fri, 2015-03-13 at 11:30 -0400, Benjamin Tissoires wrote: > > +Name=General Pen w/o Eraser > > Write this spelled out. This gets in the UI... Amended as "General Pen with no Eraser" locally (but I am open to any suggestions). Benjamin --

Re: [Linuxwacom-devel] [PATCH libwacom 1/2] Allow matching on the name too

2015-03-13 Thread Bastien Nocera
On Fri, 2015-03-13 at 11:30 -0400, Benjamin Tissoires wrote: > To support generic tablets, we need to extend the matching pattern > of libwacom. The Huion tablets reuse the same VID:PID accross all of > the products. To be able to differentiate between the models, we can > somewhat > rely on the

Re: [Linuxwacom-devel] [PATCH libwacom 2/2] Add Huion H610 Pro entry

2015-03-13 Thread Bastien Nocera
On Fri, 2015-03-13 at 11:30 -0400, Benjamin Tissoires wrote: > +Name=General Pen w/o Eraser Write this spelled out. This gets in the UI... -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored

[Linuxwacom-devel] [PATCH libwacom 2/2] Add Huion H610 Pro entry

2015-03-13 Thread Benjamin Tissoires
--- data/huion-h610-pro.tablet | 23 ++ data/layouts/huion-h610-pro.svg | 153 data/libwacom.stylus| 7 ++ 3 files changed, 183 insertions(+) create mode 100644 data/huion-h610-pro.tablet create mode 100644 data/layouts/huion-h610-

[Linuxwacom-devel] [PATCH libwacom 1/2] Allow matching on the name too

2015-03-13 Thread Benjamin Tissoires
To support generic tablets, we need to extend the matching pattern of libwacom. The Huion tablets reuse the same VID:PID accross all of the products. To be able to differentiate between the models, we can somewhat rely on the name of the product. It doesn't seem very reliable (for instance, the H61

[Linuxwacom-devel] [PATCH] Allow PAD only interfaces without EV_ABS and/or EV_X/Y to report events

2015-03-13 Thread Benjamin Tissoires
commit 0cfe113 (Allow PAD only interface without setting up EV_ABS and/or EV_X/Y) allows xf86-input-wacom to handle Pad only interface but such interface do not report any events. We need to call usbWcmInitPadState() to be able to forward events. Signed-off-by: Benjamin Tissoires --- src/wcmUSB