Adds the Cintiq 24HD (056a:00f4) to the device lists. The 24HD has two features not found on prior tablets: three capacitive buttons, and a second touch ring. Subsuquent patches will address adding support for them.
Signed-off-by: Jason Gerecke <[email protected]> Reviewed-by: Chris Bagwell <[email protected]> Reviewed-by: Peter Hutterer <[email protected]> --- src/wcmUSB.c | 1 + src/wcmValidateDevice.c | 4 ++++ src/xf86WacomDefs.h | 1 + 3 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/wcmUSB.c b/src/wcmUSB.c index 755c410..c95895a 100644 --- a/src/wcmUSB.c +++ b/src/wcmUSB.c @@ -264,6 +264,7 @@ static struct { WACOM_VENDOR_ID, 0xC5, 200000, 200000, &usbCintiqV5 }, /* Cintiq 20WSX */ { WACOM_VENDOR_ID, 0xC6, 200000, 200000, &usbCintiqV5 }, /* Cintiq 12WX */ { WACOM_VENDOR_ID, 0xCC, 200000, 200000, &usbCintiqV5 }, /* Cintiq 21UX2 */ + { WACOM_VENDOR_ID, 0xF4, 200000, 200000, &usbCintiqV5 }, /* Cintiq 24HD */ { WACOM_VENDOR_ID, 0x90, 100000, 100000, &usbTabletPC }, /* TabletPC 0x90 */ { WACOM_VENDOR_ID, 0x93, 100000, 100000, &usbTabletPC }, /* TabletPC 0x93 */ diff --git a/src/wcmValidateDevice.c b/src/wcmValidateDevice.c index 538db0a..97df312 100644 --- a/src/wcmValidateDevice.c +++ b/src/wcmValidateDevice.c @@ -191,6 +191,10 @@ int wcmDeviceTypeKeys(InputInfoPtr pInfo) switch (priv->common->tablet_id) { + case 0xF4: /* Cintiq 24HD */ + TabletSetFeature(priv->common, WCM_DUALRING); + /* fall through */ + case 0xB8: /* I4 */ case 0xB9: /* I4 */ case 0xBA: /* I4 */ diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h index 32b18ee..72de096 100644 --- a/src/xf86WacomDefs.h +++ b/src/xf86WacomDefs.h @@ -165,6 +165,7 @@ struct _WacomModel button handling, always an LCD) */ #define WCM_PENTOUCH 0x00000400 /* Tablet supports pen and touch */ +#define WCM_DUALRING 0x00000800 /* Tablet has two touch rings */ #define TabletHasFeature(common, feature) MaskIsSet((common)->tablet_type, (feature)) #define TabletSetFeature(common, feature) MaskSet((common)->tablet_type, (feature)) -- 1.7.7.3 ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
