Skip to content

Commit

Permalink
fix TAB on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
davidly committed Mar 23, 2024
1 parent 97435be commit 371d0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ntvdm.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2465,7 +2465,7 @@ void InjectKeystrokes()
const uint8_t ascii_to_scancode[ 128 ] =
{
0, 30, 48, 46, 32, 18, 33, 34, // 0 _ a - g
35, 23, 28, 37, 38, 28, 49, 24, // 8 h - o note: 10 should be 36 for ^j, but it's overloaded on Linux. same for ^m should be 50 but is 28.
35, 15, 28, 37, 38, 28, 49, 24, // 8 h - o note: 10 should be 36 for ^j, but it's overloaded on Linux. same for ^m should be 50 but is 28. and tab should be 23 but is 15
25, 16, 19, 31, 20, 22, 47, 17, // 16 p - w
45, 21, 44, 1, 43, 27, 0, 0, // 24 x y z
57, 2, 40, 4, 5, 6, 8, 40, // 32
Expand Down

0 comments on commit 371d0c0

Please sign in to comment.