Closed
Bug 743631
Opened 12 years ago
Closed 12 years ago
Check keycodes instead of scancodes when detecting keyevents
Categories
(Core :: Widget, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: mwu, Assigned: mwu)
Details
Attachments
(1 file)
5.35 KB,
patch
|
cjones
:
review+
|
Details | Diff | Splinter Review |
The use of scancodes instead of keycodes was an old hack that has come back to bite me with devices that don't use normal linux scancodes.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #630744 -
Flags: review?(jones.chris.g)
Comment on attachment 630744 [details] [diff] [review] Use keyCode instead of scanCode and use a lookup table >diff --git a/widget/gonk/GonkKeyMapping.h b/widget/gonk/GonkKeyMapping.h >+#ifndef GONKKEYMAPPING_H >+#define GONKKEYMAPPING_H >+ Needs a license header. >+/* See libui/KeycodeLabels.h for the mapping */ >+static const unsigned long kKeyMapping[] = { I didn't review all of these individually. r=me with license header.
Attachment #630744 -
Flags: review?(jones.chris.g) → review+
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d04694a80016
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d04694a80016
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
You need to log in
before you can comment on or make changes to this bug.
Description
•