diff options
| -rw-r--r-- | drivers/hid/wacom_sys.c | 10 | ||||
| -rw-r--r-- | drivers/hid/wacom_wac.c | 20 |
2 files changed, 10 insertions, 20 deletions
diff --git a/drivers/hid/wacom_sys.c b/drivers/hid/wacom_sys.c index d6797535fff9..6b67c6907caa 100644 --- a/drivers/hid/wacom_sys.c +++ b/drivers/hid/wacom_sys.c | |||
| @@ -362,16 +362,6 @@ static void wacom_usage_mapping(struct hid_device *hdev, | |||
| 362 | return; | 362 | return; |
| 363 | 363 | ||
| 364 | /* | 364 | /* |
| 365 | * Bamboo models do not support HID_DG_CONTACTMAX. | ||
| 366 | * And, Bamboo Pen only descriptor contains touch. | ||
| 367 | */ | ||
| 368 | if (features->type > BAMBOO_PT) { | ||
| 369 | /* ISDv4 touch devices at least supports one touch point */ | ||
| 370 | if (finger && !features->touch_max) | ||
| 371 | features->touch_max = 1; | ||
| 372 | } | ||
| 373 | |||
| 374 | /* | ||
| 375 | * ISDv4 devices which predate HID's adoption of the | 365 | * ISDv4 devices which predate HID's adoption of the |
| 376 | * HID_DG_BARELSWITCH2 usage use 0x000D0000 in its | 366 | * HID_DG_BARELSWITCH2 usage use 0x000D0000 in its |
| 377 | * position instead. We can accurately detect if a | 367 | * position instead. We can accurately detect if a |
diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c index 0bb44d0088ed..e0842241f692 100644 --- a/drivers/hid/wacom_wac.c +++ b/drivers/hid/wacom_wac.c | |||
| @@ -4351,19 +4351,19 @@ static const struct wacom_features wacom_features_0x5E = | |||
| 4351 | .check_for_hid_type = true, .hid_type = HID_TYPE_USBNONE }; | 4351 | .check_for_hid_type = true, .hid_type = HID_TYPE_USBNONE }; |
| 4352 | static const struct wacom_features wacom_features_0x90 = | 4352 | static const struct wacom_features wacom_features_0x90 = |
| 4353 | { "Wacom ISDv4 90", 26202, 16325, 255, 0, | 4353 | { "Wacom ISDv4 90", 26202, 16325, 255, 0, |
| 4354 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4354 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; /* Pen-only */ |
| 4355 | static const struct wacom_features wacom_features_0x93 = | 4355 | static const struct wacom_features wacom_features_0x93 = |
| 4356 | { "Wacom ISDv4 93", 26202, 16325, 255, 0, | 4356 | { "Wacom ISDv4 93", 26202, 16325, 255, 0, |
| 4357 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4357 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 1 }; |
| 4358 | static const struct wacom_features wacom_features_0x97 = | 4358 | static const struct wacom_features wacom_features_0x97 = |
| 4359 | { "Wacom ISDv4 97", 26202, 16325, 511, 0, | 4359 | { "Wacom ISDv4 97", 26202, 16325, 511, 0, |
| 4360 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4360 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; /* Pen-only */ |
| 4361 | static const struct wacom_features wacom_features_0x9A = | 4361 | static const struct wacom_features wacom_features_0x9A = |
| 4362 | { "Wacom ISDv4 9A", 26202, 16325, 255, 0, | 4362 | { "Wacom ISDv4 9A", 26202, 16325, 255, 0, |
| 4363 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4363 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 1 }; |
| 4364 | static const struct wacom_features wacom_features_0x9F = | 4364 | static const struct wacom_features wacom_features_0x9F = |
| 4365 | { "Wacom ISDv4 9F", 26202, 16325, 255, 0, | 4365 | { "Wacom ISDv4 9F", 26202, 16325, 255, 0, |
| 4366 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4366 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 1 }; |
| 4367 | static const struct wacom_features wacom_features_0xE2 = | 4367 | static const struct wacom_features wacom_features_0xE2 = |
| 4368 | { "Wacom ISDv4 E2", 26202, 16325, 255, 0, | 4368 | { "Wacom ISDv4 E2", 26202, 16325, 255, 0, |
| 4369 | TABLETPC2FG, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 }; | 4369 | TABLETPC2FG, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 }; |
| @@ -4378,13 +4378,13 @@ static const struct wacom_features wacom_features_0xE6 = | |||
| 4378 | TABLETPC2FG, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 }; | 4378 | TABLETPC2FG, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 2 }; |
| 4379 | static const struct wacom_features wacom_features_0xEC = | 4379 | static const struct wacom_features wacom_features_0xEC = |
| 4380 | { "Wacom ISDv4 EC", 25710, 14500, 255, 0, | 4380 | { "Wacom ISDv4 EC", 25710, 14500, 255, 0, |
| 4381 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4381 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; /* Pen-only */ |
| 4382 | static const struct wacom_features wacom_features_0xED = | 4382 | static const struct wacom_features wacom_features_0xED = |
| 4383 | { "Wacom ISDv4 ED", 26202, 16325, 255, 0, | 4383 | { "Wacom ISDv4 ED", 26202, 16325, 255, 0, |
| 4384 | TABLETPCE, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4384 | TABLETPCE, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 1 }; |
| 4385 | static const struct wacom_features wacom_features_0xEF = | 4385 | static const struct wacom_features wacom_features_0xEF = |
| 4386 | { "Wacom ISDv4 EF", 26202, 16325, 255, 0, | 4386 | { "Wacom ISDv4 EF", 26202, 16325, 255, 0, |
| 4387 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4387 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; /* Pen-only */ |
| 4388 | static const struct wacom_features wacom_features_0x100 = | 4388 | static const struct wacom_features wacom_features_0x100 = |
| 4389 | { "Wacom ISDv4 100", 26202, 16325, 255, 0, | 4389 | { "Wacom ISDv4 100", 26202, 16325, 255, 0, |
| 4390 | MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4390 | MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; |
| @@ -4402,10 +4402,10 @@ static const struct wacom_features wacom_features_0x10F = | |||
| 4402 | MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4402 | MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; |
| 4403 | static const struct wacom_features wacom_features_0x116 = | 4403 | static const struct wacom_features wacom_features_0x116 = |
| 4404 | { "Wacom ISDv4 116", 26202, 16325, 255, 0, | 4404 | { "Wacom ISDv4 116", 26202, 16325, 255, 0, |
| 4405 | TABLETPCE, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4405 | TABLETPCE, WACOM_INTUOS_RES, WACOM_INTUOS_RES, .touch_max = 1 }; |
| 4406 | static const struct wacom_features wacom_features_0x12C = | 4406 | static const struct wacom_features wacom_features_0x12C = |
| 4407 | { "Wacom ISDv4 12C", 27848, 15752, 2047, 0, | 4407 | { "Wacom ISDv4 12C", 27848, 15752, 2047, 0, |
| 4408 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4408 | TABLETPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; /* Pen-only */ |
| 4409 | static const struct wacom_features wacom_features_0x4001 = | 4409 | static const struct wacom_features wacom_features_0x4001 = |
| 4410 | { "Wacom ISDv4 4001", 26202, 16325, 255, 0, | 4410 | { "Wacom ISDv4 4001", 26202, 16325, 255, 0, |
| 4411 | MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; | 4411 | MTTPC, WACOM_INTUOS_RES, WACOM_INTUOS_RES }; |
