[haiku-commits] haiku: hrev54835 - src/add-ons/input_server/devices/wacom

  • From: Gerasim Troeglazov <3dEyes@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 1 Jan 2021 08:51:38 -0500 (EST)

hrev54835 adds 1 changeset to branch 'master'
old head: d5d6ada3fd289f932021d1c0b310936f45c1bf48
new head: 55cf87a88ce6d18da6ea97091e2fe8648d93028f
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=55cf87a88ce6+%5Ed5d6ada3fd28

----------------------------------------------------------------------------

55cf87a88ce6: wacom: Add Product ID for One by Wacom (CTL-671) tablet.
  
  Change-Id: Iddd89877d857e87ca226dc834292bbabd3a0ca36

                                   [ Gerasim Troeglazov <3dEyes@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev54835
Commit:      55cf87a88ce6d18da6ea97091e2fe8648d93028f
URL:         https://git.haiku-os.org/haiku/commit/?id=55cf87a88ce6
Author:      Gerasim Troeglazov <3dEyes@xxxxxxxxx>
Date:        Fri Jan  1 13:50:20 2021 UTC

----------------------------------------------------------------------------

1 file changed, 6 insertions(+)
src/add-ons/input_server/devices/wacom/TabletDevice.cpp | 6 ++++++

----------------------------------------------------------------------------

diff --git a/src/add-ons/input_server/devices/wacom/TabletDevice.cpp 
b/src/add-ons/input_server/devices/wacom/TabletDevice.cpp
index 383bb4555c..df6c8a95b5 100644
--- a/src/add-ons/input_server/devices/wacom/TabletDevice.cpp
+++ b/src/add-ons/input_server/devices/wacom/TabletDevice.cpp
@@ -261,6 +261,9 @@ TabletDevice::DetectDevice(const DeviceReader* reader)
                case 0xDD:      // Wacom Bamboo Pen/Connect (CTL-470) (from 
Linux Wacom Project)
                        SetDevice(14720.0, 9200.0, DEVICE_BAMBOO_PT);
                        break;
+               case 0x0301: // One by Wacom CTL-671
+                       SetDevice(21648.0, 13530.0, DEVICE_BAMBOO_PT);
+                       break;
                case 0x037b: // One by Wacom CTL-672
                        SetDevice(21648.0, 13530.0, DEVICE_BAMBOO_PT);
                        break;
@@ -874,6 +877,9 @@ TabletDevice::_GetName(uint16 productID, const char** name) 
const
                case 0xDD:
                        *name = "Wacom Bamboo Pen/Connect (CTL-470)";
                        break;
+               case 0x0301:
+                       *name = "One by Wacom (CTL-671)";
+                       break;
                case 0x037b:
                        *name = "One by Wacom (CTL-672)";
                        break;


Other related posts:

  • » [haiku-commits] haiku: hrev54835 - src/add-ons/input_server/devices/wacom - Gerasim Troeglazov