aboutsummaryrefslogtreecommitdiffstats
path: root/x-keyboard
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-01 17:32:48 +0100
committerMattias Andrée <maandree@kth.se>2021-03-01 17:32:48 +0100
commit5703473fc06d8a92ec92d44fab5ddcf19938a1a6 (patch)
tree9a0a521f20c3865ca88c319ae9dfa7e5329021ee /x-keyboard
parentupdate readme (diff)
downloadmy-keyboard-5703473fc06d8a92ec92d44fab5ddcf19938a1a6.tar.gz
my-keyboard-5703473fc06d8a92ec92d44fab5ddcf19938a1a6.tar.bz2
my-keyboard-5703473fc06d8a92ec92d44fab5ddcf19938a1a6.tar.xz
misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'x-keyboard')
-rw-r--r--x-keyboard/Xmodmap27
-rw-r--r--x-keyboard/xkb_compat_maandree58
2 files changed, 85 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/x-keyboard/xkb_compat_maandree b/x-keyboard/xkb_compat_maandree
new file mode 100644
index 0000000..f6d41b7
--- /dev/null
+++ b/x-keyboard/xkb_compat_maandree
@@ -0,0 +1,58 @@
+/// 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"
+ augment "mousekeys"
+ augment "accessx(full)"
+ augment "misc"
+ augment "xfree86"
+ augment "level5"
+ augment "caps(caps_lock)"
+
+ interpret XF86_Switch_VT_13 {
+ action = SwitchScreen(Screen=13, !SameServer);
+ };
+ interpret XF86_Switch_VT_14 {
+ action = SwitchScreen(Screen=14, !SameServer);
+ };
+ interpret XF86_Switch_VT_15 {
+ action = SwitchScreen(Screen=15, !SameServer);
+ };
+ interpret XF86_Switch_VT_16 {
+ action = SwitchScreen(Screen=16, !SameServer);
+ };
+ interpret XF86_Switch_VT_17 {
+ action = SwitchScreen(Screen=17, !SameServer);
+ };
+ interpret XF86_Switch_VT_18 {
+ action = SwitchScreen(Screen=18, !SameServer);
+ };
+ interpret XF86_Switch_VT_19 {
+ action = SwitchScreen(Screen=19, !SameServer);
+ };
+ interpret XF86_Switch_VT_20 {
+ action = SwitchScreen(Screen=20, !SameServer);
+ };
+ interpret XF86_Switch_VT_21 {
+ action = SwitchScreen(Screen=21, !SameServer);
+ };
+ interpret XF86_Switch_VT_22 {
+ action = SwitchScreen(Screen=22, !SameServer);
+ };
+ interpret XF86_Switch_VT_23 {
+ action = SwitchScreen(Screen=23, !SameServer);
+ };
+ interpret XF86_Switch_VT_24 {
+ action = SwitchScreen(Screen=24, !SameServer);
+ };
+
+};