summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorsvu <svu>2006-02-26 03:33:08 +0000
committersvu <svu>2006-02-26 03:33:08 +0000
commit93fd80a5a94f6cdc1c8bb6e1614bad622b3b9bd1 (patch)
treea365fb61bd66780aa76c504c4fb5be37583ee7da /compat
parentd59059d906c918f67e3d7be02da9a3bd12a123fe (diff)
downloadxkeyboard-config-93fd80a5a94f6cdc1c8bb6e1614bad622b3b9bd1.tar.gz
huge update from Sun
Diffstat (limited to 'compat')
-rw-r--r--compat/japan19
-rw-r--r--compat/mousekeys23
-rw-r--r--compat/xorg11
3 files changed, 53 insertions, 0 deletions
diff --git a/compat/japan b/compat/japan
index 34bcc09..00187d0 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 6e9a208..fbd2b88 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 0000000..310f86d
--- /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);
+ };
+};