wacom: Add Product ID for Wacom Bamboo Pen/Connect.
This enables the Wacom Bamboo Pen/Connect (CTL-470 Model) to be recognised by the wacom driver. Pen support and pressure-sensitivity is also working fine. Tested on hrev53021. Change-Id: I165a03e4a60f4cad8537122fdc2992ff291b9889 Reviewed-on: https://review.haiku-os.org/c/1392 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
5e4336f30a
commit
4e8ff93e77
@@ -11,6 +11,7 @@
|
||||
* Stefan Werner <[email protected]>
|
||||
* Hiroyuki Tsutsumi <???>
|
||||
* Jeroen Oortwijn <[email protected]>
|
||||
* Calvin Hill <[email protected]>
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -254,6 +255,9 @@ TabletDevice::DetectDevice(const DeviceReader* reader)
|
||||
case 0xDB: // Wacom Bamboo CTH-661 (from Linux Wacom Project)
|
||||
SetDevice(21648.0, 13530.0, DEVICE_BAMBOO_PT);
|
||||
break;
|
||||
case 0xDD: // Wacom Bamboo Pen/Connect (CTL-470) (from Linux Wacom Project)
|
||||
SetDevice(14720.0, 9200.0, DEVICE_BAMBOO_PT);
|
||||
break;
|
||||
default:
|
||||
status = B_BAD_VALUE;
|
||||
break;
|
||||
@@ -861,6 +865,9 @@ TabletDevice::_GetName(uint16 productID, const char** name) const
|
||||
case 0xDB:
|
||||
*name = "Wacom Bamboo (CTH-661)";
|
||||
break;
|
||||
case 0xDD:
|
||||
*name = "Wacom Bamboo Pen/Connect (CTL-470)";
|
||||
break;
|
||||
|
||||
default:
|
||||
*name = "<unkown wacom tablet>";
|
||||
|
||||
Reference in New Issue
Block a user