Ticket #7600: wacom_add_bamboo.patch

File wacom_add_bamboo.patch, 1.5 KB (added by idefix, 13 years ago)

Add support for five Wacom Bamboo models

  • src/add-ons/input_server/devices/wacom/TabletDevice.cpp

     
    238238        case 0xD4:  // Wacom Bamboo 4x5 (from Linux Wacom Project)
    239239            SetDevice(14720.0, 9200.0, DEVICE_BAMBOO_PT);
    240240            break;
     241        case 0xD6:  // Wacom Bamboo CTH-460/K (from Linux Wacom Project)
     242            SetDevice(14720.0, 9200.0, DEVICE_BAMBOO_PT);
     243            break;
     244        case 0xD7:  // Wacom Bamboo CTH-461/S (from Linux Wacom Project)
     245            SetDevice(14720.0, 9200.0, DEVICE_BAMBOO_PT);
     246            break;
     247        case 0xD8:  // Wacom Bamboo CTH-661/S1 (from Linux Wacom Project)
     248            SetDevice(21648.0, 13530.0, DEVICE_BAMBOO_PT);
     249            break;
     250        case 0xDA:  // Wacom Bamboo CTH-461/L (from Linux Wacom Project)
     251            SetDevice(14720.0, 9200.0, DEVICE_BAMBOO_PT);
     252            break;
     253        case 0xDB:  // Wacom Bamboo CTH-661 (from Linux Wacom Project)
     254            SetDevice(21648.0, 13530.0, DEVICE_BAMBOO_PT);
     255            break;
    241256        default:
    242257            status = B_BAD_VALUE;
    243258            break;
     
    816831        case 0xD4:
    817832            *name = "Wacom Bamboo 4x5\" USB";
    818833            break;
     834        case 0xD6:
     835            *name = "Wacom Bamboo (CTH-460/K)";
     836            break;
     837        case 0xD7:
     838            *name = "Wacom Bamboo (CTH-461/S)";
     839            break;
     840        case 0xD8:
     841            *name = "Wacom Bamboo (CTH-661/S1)";
     842            break;
     843        case 0xDA:
     844            *name = "Wacom Bamboo (CTH-461/L)";
     845            break;
     846        case 0xDB:
     847            *name = "Wacom Bamboo (CTH-661)";
     848            break;
    819849
    820850        default:
    821851            *name = "<unkown wacom tablet>";