aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-input-quirks.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-input-quirks.c')
-rw-r--r--drivers/hid/hid-input-quirks.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/hid/hid-input-quirks.c b/drivers/hid/hid-input-quirks.c
index 9c4baf32dcfa..a870ba58faa3 100644
--- a/drivers/hid/hid-input-quirks.c
+++ b/drivers/hid/hid-input-quirks.c
@@ -145,10 +145,11 @@ static int quirk_microsoft_presenter_8k(struct hid_usage *usage, struct input_de
145 145
146 set_bit(EV_REP, input->evbit); 146 set_bit(EV_REP, input->evbit);
147 switch(usage->hid & HID_USAGE) { 147 switch(usage->hid & HID_USAGE) {
148 case 0xfd08: map_key_clear(KEY_RIGHT); break; 148 case 0xfd08: map_key_clear(KEY_FORWARD); break;
149 case 0xfd09: map_key_clear(KEY_LEFT); break; 149 case 0xfd09: map_key_clear(KEY_BACK); break;
150 case 0xfd0b: map_key_clear(KEY_PAUSE); break; 150 case 0xfd0b: map_key_clear(KEY_PLAYPAUSE); break;
151 case 0xfd0f: map_key_clear(KEY_F5); break; 151 case 0xfd0e: map_key_clear(KEY_CLOSE); break;
152 case 0xfd0f: map_key_clear(KEY_PLAY); break;
152 default: 153 default:
153 return 0; 154 return 0;
154 } 155 }