Skip to content

Commit

Permalink
HID: ignore digitizer usage Undefined (0x00)
Browse files Browse the repository at this point in the history
SMART Technologies has recommended this change to fix a problem reported
with SMART Board series interactive whiteboards.

A description of the device-specific symptom follows:

  When the board is connected my mouse bounces up to the top left corner.

Bjorn has tested this fix with model SB680.

Tested-by: Bjorn Behrendt <[email protected]>
Signed-off-by: Forest Bond <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
forestbond authored and Jiri Kosina committed Jul 13, 2010
1 parent a11b3fa commit 8c8b01c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/hid/hid-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,9 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel

case HID_UP_DIGITIZER:
switch (usage->hid & 0xff) {
case 0x00: /* Undefined */
goto ignore;

case 0x30: /* TipPressure */
if (!test_bit(BTN_TOUCH, input->keybit)) {
device->quirks |= HID_QUIRK_NOTOUCH;
Expand Down

0 comments on commit 8c8b01c

Please sign in to comment.