diff options
author | Stephan Hilb <stephan@ecshi.net> | 2010-03-27 11:54:08 +0100 |
---|---|---|
committer | Sergey V. Udaltsov <svu@gnome.org> | 2010-05-02 12:46:27 +0100 |
commit | 39124ccf1407300fb10628a1a611ca026153e454 (patch) | |
tree | 9f25ee3757de3443f3902e58be95dc54cffa5fa9 /compat | |
parent | 2a79c8f73505bb327aba7db008b5ae7e430b2fdf (diff) |
Update Neo-layout to the final version, released 2010-03-28
Diffstat (limited to 'compat')
-rw-r--r-- | compat/Makefile.am | 2 | ||||
-rw-r--r-- | compat/level5 | 12 | ||||
-rw-r--r-- | compat/misc | 10 |
3 files changed, 23 insertions, 1 deletions
diff --git a/compat/Makefile.am b/compat/Makefile.am index 4e56a242..54a659ee 100644 --- a/compat/Makefile.am +++ b/compat/Makefile.am @@ -1,7 +1,7 @@ compatdir = $(xkb_base)/compat dist_compat_DATA = \ -accessx basic complete \ +accessx basic caps complete \ default iso9995 \ japan keypad ledcaps \ lednum ledscroll level5 \ diff --git a/compat/level5 b/compat/level5 index 6c2da991..47693549 100644 --- a/compat/level5 +++ b/compat/level5 @@ -42,3 +42,15 @@ default partial xkb_compatibility "default" { action= LockMods(modifiers=LevelFive); }; }; +partial xkb_compatibility "level5_lock" { + // This defines a Level5-Lock using the NumLock real modifier in order to + // create arbitrary level-behaviour, which would not be possible with the + // virtual modifier. + // See also: types/level5 : EIGHT_LEVEL_LEVEL_FIVE_LOCK + // See also: symbols/level5(lock) + virtual_modifiers NumLock; + + interpret ISO_Level5_Lock { + action = LockMods(modifiers = NumLock); + }; +}; diff --git a/compat/misc b/compat/misc index 9566bc6f..68cda959 100644 --- a/compat/misc +++ b/compat/misc @@ -115,3 +115,13 @@ default partial xkb_compatibility "misc" { include "ledscroll" }; + +partial xkb_compatibility "assign_shift_left_action" { + // Because of the irrevertable modifier mapping in symbols/pc <LFSH> is + // getting bound to the Lock modifier when using + // symbols/shift(both_capslock), creating unwanted behaviour. + // This is a quirk, to circumvent the problem. + interpret Shift_L { + action = SetMods(modifiers = Shift); + }; +}; |