Closed
Bug 1067782
Opened 10 years ago
Closed 9 years ago
Shumway is generating wrong key codes
Categories
(Firefox Graveyard :: Shumway, defect, P4)
Firefox Graveyard
Shumway
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: mbx, Assigned: mbx)
References
Details
Pressing "+" key results in a keycode of 61 in Firefox. It should be 187 in Flash. (We do get the correct key code in Chrome however.)
stage.addEventListener(KeyboardEvent.KEY_DOWN, function (event:KeyboardEvent) {
trace (event.keyCode);
});
Comment 1•10 years ago
|
||
This is a low-priority for ads, but it would break some games.
Assignee: nobody → mbebenita
Blocks: shumway-m3
Priority: -- → P4
Summary: Wrong key codes. → Shumway is generating wrong key codes
Comment 2•10 years ago
|
||
According to bug 537955 comment 5 , keycodes are browser dependent. Newer browsers have implemented the DOM Level 3 Keyboard spec
KeyboardEvent.key (Firefox / IE) / .keyIdentifier (Chrome / Safari) should be compatible across browsers. [1]
[1] - https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent.key
Updated•10 years ago
|
Comment 3•10 years ago
|
||
This key code bug doesn't seem like it needs to block ads. Can we defer it to a later milestone?
Flags: needinfo?(mbebenita)
Updated•9 years ago
|
Blocks: shumway-m5
Updated•9 years ago
|
No longer blocks: shumway-m4
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•