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
This commit is contained in:
François Revol 2011-10-30 21:14:50 +00:00
parent 7349dee191
commit 86b7df9ad6

View File

@ -10,6 +10,7 @@
* Frans van Nispen <frans@xentronix.com>
* Stefan Werner <stefan@keindesign.de>
* Hiroyuki Tsutsumi <???>
* Jeroen Oortwijn <???>
*/
#include <stdio.h>
@ -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 = "<unkown wacom tablet>";