From 86c0e56796658a8a3ba1246252e88a997f48a359 Mon Sep 17 00:00:00 2001
From: MilhouseVH <milhouseVH.github@nmacleod.com>
Date: Fri, 14 Jun 2019 01:00:37 +0100
Subject: [PATCH] drop unsupported keycodes

Jun 14 00:55:54 NUC xorg-launch[722]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Jun 14 00:55:54 NUC xorg-launch[722]: > Warning:          Unsupported high keycode 569 for name <I569> ignored
Jun 14 00:55:54 NUC xorg-launch[722]: >                   X11 cannot support keycodes above 255.
Jun 14 00:55:54 NUC xorg-launch[722]: >                   This warning only shows for the first high keycode.
Jun 14 00:55:54 NUC xorg-launch[722]: > Internal error:   Could not resolve keysym XF86RotationLockToggle
Jun 14 00:55:54 NUC xorg-launch[722]: Errors from xkbcomp are not fatal to the X server
---
 keycodes/evdev | 2 --
 symbols/inet   | 2 --
 2 files changed, 4 deletions(-)

diff --git a/keycodes/evdev b/keycodes/evdev
index bac7e36..51a6e26 100644
--- a/keycodes/evdev
+++ b/keycodes/evdev
@@ -284,8 +284,6 @@ default xkb_keycodes "evdev" {
 	<I254> = 254;	// #define KEY_WWAN                246
 	<I255> = 255;	// #define KEY_RFKILL              247
 
-	<I569> = 569;   // #define KEY_ROTATE_LOCK_TOGGLE  561
-
 	// Fake keycodes for virtual keys
 	<LVL3> =   92;
 	<MDSW> =   203;
diff --git a/symbols/inet b/symbols/inet
index 1229617..39cf9dc 100644
--- a/symbols/inet
+++ b/symbols/inet
@@ -218,8 +218,6 @@ xkb_symbols "evdev" {
     key <I254>   {      [ XF86WWAN              ]       }; // KEY_WWAN
     key <I255>   {      [ XF86RFKill            ]       }; // KEY_RFKILL
 
-    key <I569>  {       [ XF86RotationLockToggle ]       };
-
     key <FK13>   {      [ XF86Tools         ]       };
     key <FK14>   {      [ XF86Launch5       ]       };
     key <FK15>   {      [ XF86Launch6       ]       };
-- 
2.14.1

