Skip to content

Commit

Permalink
Add num-lock support
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian04 committed Dec 4, 2022
1 parent 515fad5 commit ba32d5b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ public static byte[] convertKeyToScanCodes(String key) {
hidKeyCodes.put("left", (byte) 0x50);
hidKeyCodes.put("down", (byte) 0x51);
hidKeyCodes.put("up", (byte) 0x52);
hidKeyCodes.put("num-lock", (byte) 0x53);


hidKeyCodes.put("volume-up", (byte) 0x80);
hidKeyCodes.put("volume-down", (byte) 0x81);
Expand Down

0 comments on commit ba32d5b

Please sign in to comment.