Skip to content

Commit

Permalink
Pass through fn keys
Browse files Browse the repository at this point in the history
  • Loading branch information
david-pfx committed Aug 2, 2024
1 parent 8eb4e4d commit 2dec1a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/demo/test/test_min_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ homepage www.polyomino.com

verbose_logging
debug
debug_switch input

========
TAGS
Expand Down
2 changes: 2 additions & 0 deletions src/js/inputoutput.js
Original file line number Diff line number Diff line change
Expand Up @@ -1141,6 +1141,8 @@ function checkKey(e,justPressed) {
if (e&&(e.ctrlKey || e.metaKey|| e.altKey)){
return;
}
if (e.keyCode >= 0x70 && e.keyCode <= 0x83) // function keys
return;

var inputdir=-1;
switch(e.keyCode) {
Expand Down

0 comments on commit 2dec1a6

Please sign in to comment.