Improve the probability of detecting numpad 5.
Firefox now, in some circumstances, thinks numpad 5 is the clear key, with keycode 12. This makes it detectable.
This commit is contained in:
parent
51978efd4e
commit
1bb3671a58
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ var keyHexCodes = {
|
||||||
this[27] = ["1b", "1b"]; // escape
|
this[27] = ["1b", "1b"]; // escape
|
||||||
this[33] = ["1b5b357e", "1b5b357e"]; // page up
|
this[33] = ["1b5b357e", "1b5b357e"]; // page up
|
||||||
this[34] = ["1b5b367e", "1b5b367e"]; // page down
|
this[34] = ["1b5b367e", "1b5b367e"]; // page down
|
||||||
|
this[12] = ["1b5b45", "1b5b45"]; // Clear key = numpad 5 (Firefox)
|
||||||
this.appCursor(false);
|
this.appCursor(false);
|
||||||
this.appKeypad(false);
|
this.appKeypad(false);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue