diff options
author | svu <svu> | 2006-02-26 03:33:08 +0000 |
---|---|---|
committer | svu <svu> | 2006-02-26 03:33:08 +0000 |
commit | 93fd80a5a94f6cdc1c8bb6e1614bad622b3b9bd1 (patch) | |
tree | a365fb61bd66780aa76c504c4fb5be37583ee7da /compat | |
parent | d59059d906c918f67e3d7be02da9a3bd12a123fe (diff) |
huge update from Sun
Diffstat (limited to 'compat')
-rw-r--r-- | compat/japan | 19 | ||||
-rw-r--r-- | compat/mousekeys | 23 | ||||
-rw-r--r-- | compat/xorg | 11 |
3 files changed, 53 insertions, 0 deletions
diff --git a/compat/japan b/compat/japan index 34bcc096..00187d00 100644 --- a/compat/japan +++ b/compat/japan @@ -27,3 +27,22 @@ default partial xkb_compatibility "japan" { action= NoAction(); }; }; + +// Some Japanese keyboards have an explict Kana Lock key & matching LED + +partial xkb_compatibility "kana_lock" { + + virtual_modifiers Kana_Lock; + + interpret Kana_Lock+AnyOfOrNone(all) { + virtualModifier= Kana_Lock; + useModMapMods=level1; + action= LockGroup(group=+1); + }; + + indicator "Kana" { + !allowExplicit; + groups= All-Group1; + }; +}; + diff --git a/compat/mousekeys b/compat/mousekeys index 6e9a208d..fbd2b889 100644 --- a/compat/mousekeys +++ b/compat/mousekeys @@ -117,6 +117,29 @@ default partial xkb_compatibility "mousekeys" { action = LockPointerButton(button=default,affect=unlock); }; + // Additional mappings for Solaris keypad compatibility + interpret F25 { // aka KP_Divide + action = SetPtrDflt(affect=defaultButton,button=1); + }; + interpret F26 { // aka KP_Multiply + action = SetPtrDflt(affect=defaultButton,button=2); + }; + interpret F27 { // aka KP_Home + action = MovePtr(x=-1,y=-1); + }; + interpret F29 { // aka KP_Prior + action = MovePtr(x=+1,y=-1); + }; + interpret F31 { // aka KP_Begin + action = PointerButton(button=default); + }; + interpret F33 { // aka KP_End + action = MovePtr(x=-1,y= +1); + }; + interpret F35 { // aka KP_Next + action = MovePtr(x=+1,y=+1); + }; + interpret.repeat= False; diff --git a/compat/xorg b/compat/xorg new file mode 100644 index 00000000..310f86d3 --- /dev/null +++ b/compat/xorg @@ -0,0 +1,11 @@ +// +// $XKeyboardConfig$ +// Misc optional compat things +// + +default partial xkb_compatibility "lctrl_group1" { + interpret Control_L+Any { + action = SetMods(modifiers=ModMapMods,clearLocks); + //action = LatchGroup(group=1,!clearLocks,!latchToLock); + }; +}; |