xkbdesc/symbols inet,1.43,1.44 level3,1.11,1.12

Sergey V. Oudaltsov xlibs-commit at pdx.freedesktop.org
Mon Sep 18 06:51:39 PDT 2006


Committed by: svu

Update of /cvs/xlibs/xkbdesc/symbols
In directory kemper:/tmp/cvs-serv18321/symbols

Modified Files:
	inet level3 
Log Message:
lv3:enter_switch, b.fd.o#8324

Index: inet
===================================================================
RCS file: /cvs/xlibs/xkbdesc/symbols/inet,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- inet	10 Sep 2006 12:27:51 -0000	1.43
+++ inet	18 Sep 2006 13:51:37 -0000	1.44
@@ -2199,18 +2199,6 @@
     key <KPEQ>  {       [ KP_Equal ] };
 };
 
-partial modifier_keys
-xkb_symbols "apple_laptop" {
-    include "inet(apple)"
-
-    // These keyboards only generate a <RALT> when pressing fn+Alt. This makes
-    // it impossible to get to the third shift level on keys that are on
-    // the fn-keypad, so use the Enter key (right of <SPC>) for Mode_switch,
-    // and use fn+Enter (Apple's code for Menu) for KP_Enter.
-    replace key <KPEN> { [ ISO_Level3_Shift ] };
-    modifier_map Mod2  { ISO_Level3_Shift };
-};
-
 partial alphanumeric_keys
 xkb_symbols "cymotionlinux" {
     key	<RWIN>	{	[	at		]	};

Index: level3
===================================================================
RCS file: /cvs/xlibs/xkbdesc/symbols/level3,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- level3	4 Sep 2006 17:39:23 -0000	1.11
+++ level3	18 Sep 2006 13:51:37 -0000	1.12
@@ -80,20 +80,16 @@
   modifier_map Mod5   { ISO_Level3_Shift };
 };
 
-// using the level(win_switch) map, the either Windows' logo key
-// temporarily chooses the third shift level.  If you use this map,
-// you should define your keyboard as pc101 or pc102 instead of pc104
-// or pc105.
+// using the level3(win_switch) map, the either Windows' logo key
+// temporarily chooses the third shift level.
 partial modifier_keys
 xkb_symbols "win_switch" {
   include "level3(lwin_switch)"
   include "level3(rwin_switch)"
 };
 
-// using the level(lwin_switch) map, the left Windows' logo key
-// temporarily chooses the third shift level.  If you use this map,
-// you should define your keyboard as pc101 or pc102 instead of pc104
-// or pc105.
+// using the level3(lwin_switch) map, the left Windows' logo key
+// temporarily chooses the third shift level.
 partial modifier_keys
 xkb_symbols "lwin_switch" {
   key <LWIN> {
@@ -115,3 +111,15 @@
     };
   modifier_map Mod5   { ISO_Level3_Shift };
 };
+
+// using the level3(enter_switch) map, the Enter key on the keypad
+// temporarily chooses the third shift level.  This is especially
+// useful for Mac laptops which miss the right Alt key.
+partial hidden modifier_keys
+xkb_symbols "enter_switch" {
+  key <KPEN> {
+    type[Group1]="ONE_LEVEL",
+    symbols[Group1] = [ ISO_Level3_Shift ]
+    };
+  modifier_map Mod5   { ISO_Level3_Shift };
+};



More information about the xlibs-commit mailing list