xkbdesc/compat japan,1.1,1.2 mousekeys,1.1,1.2 xorg,NONE,1.1

"Sergey V. Oudaltsov" <xlibs-commit-u7BhqnqprCWvj1b/[email protected]>
Newsgroups gmane.comp.freedesktop.xlibs.cvs
Message-ID <[email protected]>
Committed by: svu

Update of /cvs/xlibs/xkbdesc/compat
In directory kemper:/tmp/cvs-serv18428/compat

Modified Files:
	japan mousekeys 
Added Files:
	xorg 
Log Message:
huge update from Sun

Index: japan
===================================================================
RCS file: /cvs/xlibs/xkbdesc/compat/japan,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- japan	10 Apr 2004 02:08:51 -0000	1.1
+++ japan	26 Feb 2006 03:36:50 -0000	1.2
@@ -27,3 +27,22 @@
 	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;
+    };
+};
+

Index: mousekeys
===================================================================
RCS file: /cvs/xlibs/xkbdesc/compat/mousekeys,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mousekeys	10 Apr 2004 02:08:51 -0000	1.1
+++ mousekeys	26 Feb 2006 03:36:50 -0000	1.2
@@ -117,6 +117,29 @@
 	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;
 
 

--- NEW FILE: xorg ---
//
// $XKeyboardConfig: xkbdesc/compat/xorg,v 1.1 2006/02/26 03:36:50 svu Exp $
// 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);
    };
};
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.