Skip to content

Commit 92cf44e

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull input fixes from Dmitry Torokhov: "We are disabling automatic probing of BYD touchpads as it results in too many false positives, and the hardware is not terribly popular and having the protocol support does not result in significantly improved user experience. We also change keycode for KEY_DATA to avoid clashing with KEY_FASTREVERSE. Luckily this newish code is used by CEC framework that is still in staging, so it is extremely unlikely that someone has already started using this keycode" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: change KEY_DATA from 0x275 to 0x277 Input: psmouse - disable automatic probing of BYD touchpads
2 parents d3fc425 + 2425f18 commit 92cf44e

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

drivers/input/mouse/psmouse-base.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,10 +1115,6 @@ static int psmouse_extensions(struct psmouse *psmouse,
11151115
if (psmouse_try_protocol(psmouse, PSMOUSE_TOUCHKIT_PS2,
11161116
&max_proto, set_properties, true))
11171117
return PSMOUSE_TOUCHKIT_PS2;
1118-
1119-
if (psmouse_try_protocol(psmouse, PSMOUSE_BYD,
1120-
&max_proto, set_properties, true))
1121-
return PSMOUSE_BYD;
11221118
}
11231119

11241120
/*

include/uapi/linux/input-event-codes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@
640640
* Control a data application associated with the currently viewed channel,
641641
* e.g. teletext or data broadcast application (MHEG, MHP, HbbTV, etc.)
642642
*/
643-
#define KEY_DATA 0x275
643+
#define KEY_DATA 0x277
644644

645645
#define BTN_TRIGGER_HAPPY 0x2c0
646646
#define BTN_TRIGGER_HAPPY1 0x2c0

0 commit comments

Comments
 (0)