aboutsummaryrefslogtreecommitdiffstats
path: root/x-keyboard
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--x-keyboard/Xmodmap27
-rw-r--r--x-keyboard/xkb_compat_maandree (renamed from xkb_compat_maandree)10
2 files changed, 37 insertions, 0 deletions
diff --git a/x-keyboard/Xmodmap b/x-keyboard/Xmodmap
new file mode 100644
index 0000000..59d443c
--- /dev/null
+++ b/x-keyboard/Xmodmap
@@ -0,0 +1,27 @@
+!!! Copyright 2021, Mattias Andrée
+!!!
+!!! Copying and distribution of this file, with or without modification,
+!!! are permitted in any medium without royalty, provided the copyright
+!!! notice and this notice are preserved. This file is offered as-is,
+!!! without any warranty.
+
+keycode 66 = Control_L Control_L Control_L Control_L
+keycode 37 = Hyper_L Hyper_L Hyper_L Hyper_
+keycode 50 = Shift_L Shift_L Shift_L Shift_L
+!! FOR NEW MODEL M: keycode 108 = Multi_key Multi_key Multi_key Multi_key
+!! FOR NEW MODEL M: keycode 134 = ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift
+clear Shift
+clear Lock
+clear Control
+clear mod1
+clear Mod2
+clear Mod3
+clear Mod4
+clear Mod5
+add Shift = Shift_L Shift_R
+add Control = Control_L Control_R
+add Mod1 = Alt_L Meta_L
+add Mod2 = Num_Lock
+add Mod3 = Hyper_L
+add Mod4 = Super_L
+add Mod5 = ISO_Level3_Shift
diff --git a/xkb_compat_maandree b/x-keyboard/xkb_compat_maandree
index 357dc63..f6d41b7 100644
--- a/xkb_compat_maandree
+++ b/x-keyboard/xkb_compat_maandree
@@ -1,3 +1,13 @@
+/// Copyright 2013, Mattias Andrée
+///
+/// Copying and distribution of this file, with or without modification,
+/// are permitted in any medium without royalty, provided the copyright
+/// notice and this notice are preserved. This file is offered as-is,
+/// without any warranty.
+
+/// Install to /usr/share/X11/xkb/compat/
+
+
default xkb_compatibility "maandree" {
include "basic"
augment "iso9995"