Skip to content

Commit be853fd

Browse files
jigpuJiri Kosina
authored andcommitted
HID: wacom: Apply lowres quirk to BAMBOO_TOUCH devices
When splitting the touch-only "BAMBOO_TOUCH" type out of the existing "BAMBOO_PT" type in 3b164a0, the lowres quirk was not updated so that it would continue to apply to these devices (effectively only the 0xD0). The absence of this quirk does not significantly impact usability, but is a correctness issue nonetheless. Signed-off-by: Jason Gerecke <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 0610999 commit be853fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hid/wacom_wac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2421,7 +2421,7 @@ void wacom_setup_device_quirks(struct wacom *wacom)
24212421
features->quirks |= WACOM_QUIRK_BATTERY;
24222422

24232423
/* quirk for bamboo touch with 2 low res touches */
2424-
if (features->type == BAMBOO_PT &&
2424+
if ((features->type == BAMBOO_PT || features->type == BAMBOO_TOUCH) &&
24252425
features->pktlen == WACOM_PKGLEN_BBTOUCH) {
24262426
features->x_max <<= 5;
24272427
features->y_max <<= 5;

0 commit comments

Comments
 (0)