summaryrefslogtreecommitdiff
path: root/linux/X/compat
diff options
context:
space:
mode:
authorstephan <stephan@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-05-28 18:22:07 +0000
committerstephan <stephan@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-05-28 18:22:07 +0000
commitaa1558e403c7d626fe38d8ec452557c5f2037dc4 (patch)
tree9be9b1b285c5b87a8b3b7aad4d4475e4082289a4 /linux/X/compat
parentff7ec649a4be75c8200c1c35b8ca6d768d78b546 (diff)
downloadneo-layout-aa1558e403c7d626fe38d8ec452557c5f2037dc4.tar.gz
neo-layout-aa1558e403c7d626fe38d8ec452557c5f2037dc4.tar.bz2
neo-layout-aa1558e403c7d626fe38d8ec452557c5f2037dc4.zip
Alles auf xkeyboard-config Version 1.6 angeglichen.
Modifier mit Hilfe von compat-Regeln definiert. Damit sollten alle Multi-Layout-Bugs behoben sein. Allerdings tritt wahrscheinlich #135 wieder auf. git-svn-id: https://svn.neo-layout.org@1879 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux/X/compat')
-rw-r--r--linux/X/compat/neo_mods30
1 files changed, 30 insertions, 0 deletions
diff --git a/linux/X/compat/neo_mods b/linux/X/compat/neo_mods
new file mode 100644
index 0000000..b45f576
--- /dev/null
+++ b/linux/X/compat/neo_mods
@@ -0,0 +1,30 @@
+// Neo special modifiers
+default partial xkb_compatibility "default" {
+ include "neo_mods(caps_lock)"
+ include "neo_mods(shift_fix)"
+ include "neo_mods(level5_lock)"
+};
+
+partial xkb_compatibility "caps_lock" {
+ // Keysym Caps_Lock locks Lock modifier
+ // No need for modifier-mapping
+ interpret Caps_Lock {
+ action = LockMods(modifiers = Lock);
+ };
+};
+
+partial xkb_compatibility "shift_fix" {
+ // Seems like symbols/level3(caps_switch) does something evil to the left shift-key.
+ // This should do the trick:
+ interpret Shift_L {
+ action = SetMods(modifiers = Shift);
+ };
+};
+
+partial xkb_compatibility "level5_lock" {
+ virtual_modifiers NumLock;
+ // NumLock is misused for level5-lock-indication
+ interpret ISO_Level5_Lock {
+ action = LockMods(modifiers = NumLock);
+ };
+};