From 86b7df9ad63f3bd4fbf99a849bb30eac948392d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sun, 30 Oct 2011 21:14:50 +0000 Subject: [PATCH] Add five Wacom Bamboo models, patch by Jeroen Oortwijn (idefix) from ticket #7600. Thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43016 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../devices/wacom/TabletDevice.cpp | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/add-ons/input_server/devices/wacom/TabletDevice.cpp b/src/add-ons/input_server/devices/wacom/TabletDevice.cpp index 60bf65de8b..068dd9ba6c 100644 --- a/src/add-ons/input_server/devices/wacom/TabletDevice.cpp +++ b/src/add-ons/input_server/devices/wacom/TabletDevice.cpp @@ -10,6 +10,7 @@ * Frans van Nispen * Stefan Werner * Hiroyuki Tsutsumi + * Jeroen Oortwijn */ #include @@ -238,6 +239,21 @@ TabletDevice::DetectDevice(const DeviceReader* reader) case 0xD4: // Wacom Bamboo 4x5 (from Linux Wacom Project) SetDevice(14720.0, 9200.0, DEVICE_BAMBOO_PT); break; + case 0xD6: // Wacom Bamboo CTH-460/K (from Linux Wacom Project) + SetDevice(14720.0, 9200.0, DEVICE_BAMBOO_PT); + break; + case 0xD7: // Wacom Bamboo CTH-461/S (from Linux Wacom Project) + SetDevice(14720.0, 9200.0, DEVICE_BAMBOO_PT); + break; + case 0xD8: // Wacom Bamboo CTH-661/S1 (from Linux Wacom Project) + SetDevice(21648.0, 13530.0, DEVICE_BAMBOO_PT); + break; + case 0xDA: // Wacom Bamboo CTH-461/L (from Linux Wacom Project) + SetDevice(14720.0, 9200.0, DEVICE_BAMBOO_PT); + break; + case 0xDB: // Wacom Bamboo CTH-661 (from Linux Wacom Project) + SetDevice(21648.0, 13530.0, DEVICE_BAMBOO_PT); + break; default: status = B_BAD_VALUE; break; @@ -816,6 +832,21 @@ TabletDevice::_GetName(uint16 productID, const char** name) const case 0xD4: *name = "Wacom Bamboo 4x5\" USB"; break; + case 0xD6: + *name = "Wacom Bamboo (CTH-460/K)"; + break; + case 0xD7: + *name = "Wacom Bamboo (CTH-461/S)"; + break; + case 0xD8: + *name = "Wacom Bamboo (CTH-661/S1)"; + break; + case 0xDA: + *name = "Wacom Bamboo (CTH-461/L)"; + break; + case 0xDB: + *name = "Wacom Bamboo (CTH-661)"; + break; default: *name = "";