upload tizen2.0 source
[framework/uifw/xorg/util/xkeyboard-config.git] / compat / level5
index 6c2da99..8d28051 100644 (file)
@@ -1,11 +1,6 @@
-// $XKeyboardConfig$
-// $Xorg: level5,v 1.3 2000/08/17 19:54:34 cpqbld Exp $
-
 // Fairly complete set of symbol interpretations 
 // to provide reasonable default behavior
 
-// $XFree86: xc/programs/xkbcomp/compat/iso9995,v 1.3 2003/02/21 03:16:34 dawes Exp $
-
 default partial xkb_compatibility "default"  {
     virtual_modifiers LevelFive;
 
@@ -42,3 +37,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);
+    };
+};