Closed Bug 1067782 Opened 10 years ago Closed 8 years ago

Shumway is generating wrong key codes

Categories

(Firefox Graveyard :: Shumway, defect, P4)

defect

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);
});
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
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
Blocks: shumway-m4
No longer blocks: shumway-m3
This key code bug doesn't seem like it needs to block ads. Can we defer it to a later milestone?
Flags: needinfo?(mbebenita)
No longer blocks: shumway-m4
Product: Firefox → Firefox Graveyard
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
Clearing obsolete needinfo
Flags: needinfo?(mbebenita)
You need to log in before you can comment on or make changes to this bug.