[PATCH:xf86-input-keyboard 09/23] Add a couple mappings for keys found on Sun keyboards.

Thomas Klausner wiz at NetBSD.org
Mon Jul 29 14:23:35 PDT 2013


>From Michael Lorenz <macallan at NetBSD.org>
Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Matthieu Herrb <matthieu.herrb at laas.fr>
---
 src/bsd_KbdMap.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/bsd_KbdMap.c b/src/bsd_KbdMap.c
index e442eb2..6f00ffd 100644
--- a/src/bsd_KbdMap.c
+++ b/src/bsd_KbdMap.c
@@ -314,12 +314,12 @@ static CARD8 wsUsbMap[] = {
 	/* 101 */ KEY_Menu,	/* Menu */
 	/* 102 */ KEY_Power,	/* sleep key on Sun USB */
 	/* 103 */ KEY_KP_Equal, /* Keypad = on Mac keyboards */
-	/* 104 */ KEY_NOTUSED,
-	/* 105 */ KEY_NOTUSED,
-	/* 106 */ KEY_NOTUSED,
-	/* 107 */ KEY_NOTUSED,
+	/* 104 */ KEY_F13,
+	/* 105 */ KEY_F14,
+	/* 106 */ KEY_F15,
+	/* 107 */ KEY_F16,
 	/* 108 */ KEY_NOTUSED,
-	/* 109 */ KEY_NOTUSED,
+	/* 109 */ KEY_Power,
 	/* 110 */ KEY_NOTUSED,
 	/* 111 */ KEY_NOTUSED,
 	/* 112 */ KEY_NOTUSED,
-- 
1.8.3.3



More information about the xorg-devel mailing list