Module Name:    xsrc
Committed By:   hans
Date:           Mon Mar 31 11:35:34 UTC 2025

Modified Files:
        xsrc/external/mit/xf86-input-keyboard/dist/src: bsd_KbdMap.c

Log Message:
xf86-input-keyboard: fix DEC LK201 layout

On the LK201, the F11 serves as Escape by default. The key that's
currently defined as Escape is actually grave/tilde. Also, the Delete
key above Enter is actually a Backspace.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 \
    xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_KbdMap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_KbdMap.c
diff -u xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_KbdMap.c:1.14 xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_KbdMap.c:1.15
--- xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_KbdMap.c:1.14	Wed Dec 18 19:37:40 2019
+++ xsrc/external/mit/xf86-input-keyboard/dist/src/bsd_KbdMap.c	Mon Mar 31 11:35:34 2025
@@ -986,7 +986,7 @@ static CARD8 wsLk201Map[] = {
 	/* 24 */ KEY_NOTUSED,
 	/* 25 */ KEY_NOTUSED,
 	/* 26 */ KEY_NOTUSED,
-	/* 27 */ KEY_F11,
+	/* 27 */ KEY_Escape,	/* F11 */
 	/* 28 */ KEY_F12,
 	/* 29 */ KEY_F13,
 	/* 30 */ KEY_F14,
@@ -1061,10 +1061,10 @@ static CARD8 wsLk201Map[] = {
 	/* 99 */ KEY_NOTUSED,
 	/* 100 */ KEY_NOTUSED,
 	/* 101 */ KEY_NOTUSED,
-	/* 102 */ KEY_Delete,
+	/* 102 */ KEY_BackSpace,
 	/* 103 */ KEY_Enter,
 	/* 104 */ KEY_Tab,
-	/* 105 */ KEY_Escape, /* tilde */
+	/* 105 */ KEY_Tilde, /* tilde */
 	/* 106 */ KEY_1,
 	/* 107 */ KEY_Q,
 	/* 108 */ KEY_A,

Reply via email to