Skip to content

Commit

Permalink
Yup, that was a good decision.
Browse files Browse the repository at this point in the history
The even older Parade panel on the PW1, on a kernel with no EVIOCGPROP
support, would have gotten misidentified as a touchpad otherwise.
  • Loading branch information
NiLuJe committed May 15, 2024
1 parent ee2ccd0 commit b88260d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fbink_input_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ static bool
// NOTE: The original udev logic assumes no prop support *also* means !is_direct.
// We've tweaked that a bit because we target a fair number of devices without EVIOCGPROP support,
// and we'd rather stuff be misidentified as a touchscreen rather than a touchpad.
// And, more importantly, that touchscreens that happen to report BTN_TOOL_FINGER,
// as Parade panels do, be properly identified as touchscreens on devices w/o prop support.
is_touchpad = true;
} else if (has_mouse_button) {
/* This path is taken by VMware's USB mouse,
Expand Down

0 comments on commit b88260d

Please sign in to comment.