History

Input: logips2pp - fix button mapping for MX300

MX300 does not have an EXTRA_BTN - it is a simple wheel mouse with an additional task-switcher button, which is reported as side button (and not task button).

Roberto Castagnola committed 20 years ago

Commit 0c19fcd1 parent 22479e11 file · +1 −2Browse files

Unified · Split

drivers/input/mouse/logips2pp.c+1−2
@@ -238,8 +238,7 @@ static struct ps2pp_info *get_model_info(unsigned char model) · 237 unmodified lines
238238 { 100, PS2PP_KIND_MX, /* MX510 */
239239 PS2PP_WHEEL | PS2PP_SIDE_BTN | PS2PP_TASK_BTN |
240240 PS2PP_EXTRA_BTN | PS2PP_NAV_BTN },
241− { 111, PS2PP_KIND_MX, /* MX300 */
242− PS2PP_WHEEL | PS2PP_EXTRA_BTN | PS2PP_TASK_BTN },
241+ { 111, PS2PP_KIND_MX, PS2PP_WHEEL | PS2PP_SIDE_BTN }, /* MX300 reports task button as side */
243242 { 112, PS2PP_KIND_MX, /* MX500 */
244243 PS2PP_WHEEL | PS2PP_SIDE_BTN | PS2PP_TASK_BTN |
245244 PS2PP_EXTRA_BTN | PS2PP_NAV_BTN },

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t