Skip to content

Commit

Permalink
Add Insert and Tilde to keyboard mapping (#1107)
Browse files Browse the repository at this point in the history
Tilde was actually already there, just labelled in a way people might
not expect. This commit elaborates on the label for that keycode to make
it a bit more obvious.
  • Loading branch information
henrebotha authored Aug 14, 2024
1 parent f9fac45 commit de88f6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/src/Data/Keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const KEY_CODES = [
{ label: 'Arrow Left', value: 0x50 },
{ label: 'Arrow Right', value: 0x4f },
{ label: 'Arrow Up', value: 0x52 },
{ label: 'Backquote', value: 0x35 },
{ label: 'Backquote (Grave/Tilde)', value: 0x35 },
{ label: 'Backslash', value: 0x31 },
{ label: 'Backspace', value: 0x2a },
{ label: 'Bracket Left', value: 0x2f },
Expand Down Expand Up @@ -88,6 +88,7 @@ export const KEY_CODES = [
{ label: 'F22', value: 0x71 },
{ label: 'F23', value: 0x72 },
{ label: 'F24', value: 0x73 },
{ label: 'Insert', value: 0x49 },
{ label: 'Home', value: 0x4a },
{ label: 'Intl Backslash', value: 0x31 },
{ label: 'A', value: 0x04 },
Expand Down

0 comments on commit de88f6a

Please sign in to comment.