Skip to content

Commit f397e8e

Browse files
Erhannismkrnr
andauthored
Fixed windows scancodes (#1697)
Backspace, page up, and page down had the wrong scancodes, according to internet and testing --------- Co-authored-by: Martin Körner <[email protected]>
1 parent 1e4aa82 commit f397e8e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

news.d/bugfix/1697.windows.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed backspace scancode and swapped page up/down.

plover/oslayer/windows/keyboardcontrol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
30: 'a', 31: 's', 32: 'd', 33: 'f', 34: 'g', 35: 'h', 36: 'j',
4343
37: 'k', 38: 'l', 39: ';', 40: '\'', 44: 'z', 45: 'x',
4444
46: 'c', 47: 'v', 48: 'b', 49: 'n', 50: 'm', 51: ',',
45-
52: '.', 53: '/', 57: 'space', 58: "BackSpace", 83: "Delete",
45+
52: '.', 53: '/', 57: 'space', 14: "BackSpace", 83: "Delete",
4646
80: "Down", 79: "End", 1: "Escape", 71: "Home", 82: "Insert",
47-
75: "Left", 73: "Page_Down", 81: "Page_Up", 28 : "Return",
47+
75: "Left", 73: "Page_Up", 81: "Page_Down", 28 : "Return",
4848
77: "Right", 15: "Tab", 72: "Up",
4949
}
5050

0 commit comments

Comments
 (0)