Small reorganization in ctrl:* option names
authorSergey V. Udaltsov <svu@gnome.org>
Sat, 6 Aug 2011 20:47:53 +0000 (21:47 +0100)
committerSergey V. Udaltsov <svu@gnome.org>
Sat, 6 Aug 2011 20:47:53 +0000 (21:47 +0100)
There was no convention for the option names.
Now, where it is possible, the convention is <keycode>_<keysym>
(when <keycode> is mapped to <keysym>)

rules/base.o_s.part
rules/base.xml.in
symbols/ctrl

index 8191a3f..6cf9f14 100644 (file)
   ctrl:nocaps          =       +ctrl(nocaps)
   ctrl:lctrl_meta      =       +ctrl(lctrl_meta)
   ctrl:swapcaps                =       +ctrl(swapcaps)
-  ctrl:ctrl_ac         =       +ctrl(ctrl_ac)
-  ctrl:ctrl_aa         =       +ctrl(ctrl_aa)
-  ctrl:ctrl_ra         =       +ctrl(ctrl_ra)
-  ctrl:ctrl_menu       =       +ctrl(ctrl_menu)
-  ctrl:ctrl_ralt       =       +ctrl(ctrl_ralt)
+  ctrl:ac_ctrl         =       +ctrl(ac_ctrl)
+  ctrl:aa_ctrl         =       +ctrl(aa_ctrl)
+  ctrl:rctrl_ralt      =       +ctrl(rctrl_ralt)
+  ctrl:menu_rctrl      =       +ctrl(menu_rctrl)
+  ctrl:ralt_rctrl      =       +ctrl(ralt_rctrl)
   compose:ralt         =       +compose(ralt)
   compose:lwin         =       +compose(lwin)
   compose:rwin         =       +compose(rwin)
index 9199636..062fe1d 100644 (file)
       <option>
         <configItem>
           <name>ctrl:nocaps</name>
-          <_description>Make Caps Lock an additional Ctrl</_description>
+          <_description>Caps Lock as Ctrl</_description>
         </configItem>
       </option>
       <option>
         <configItem>
           <name>ctrl:lctrl_meta</name>
-          <_description>Meta on Left Ctrl</_description>
+          <_description>Left Ctrl as Meta</_description>
         </configItem>
       </option>
       <option>
       </option>
       <option>
         <configItem>
-          <name>ctrl:ctrl_ac</name>
+          <name>ctrl:ac_ctrl</name>
           <_description>At left of 'A'</_description>
         </configItem>
       </option>
       <option>
         <configItem>
-          <name>ctrl:ctrl_aa</name>
+          <name>ctrl:aa_ctrl</name>
           <_description>At bottom left</_description>
         </configItem>
       </option>
       <option>
         <configItem>
-          <name>ctrl:ctrl_ra</name>
+          <name>ctrl:rctrl_ralt</name>
           <_description>Right Ctrl as Right Alt</_description>
         </configItem>
       </option>
       <option>
         <configItem>
-          <name>ctrl:ctrl_menu</name>
-          <_description>Right Ctrl is mapped to Menu</_description>
+          <name>ctrl:menu_rctrl</name>
+          <_description>Menu as Right Ctrl</_description>
         </configItem>
       </option>
       <option>
         <configItem>
           <name>ctrl:ctrl_ralt</name>
-          <_description>Right Alt functions as Ctrl</_description>
+          <_description>Right Alt as Right Ctrl</_description>
         </configItem>
       </option>
     </group>
index 55a148f..09d76b5 100644 (file)
@@ -21,7 +21,7 @@ xkb_symbols "swapcaps" {
 // to the bottom row.  Only works if the geometry or keycodes
 // file has defined appropriate aliases for the keys in question.
 partial modifier_keys 
-xkb_symbols "ctrl_ac" {
+xkb_symbols "ac_ctrl" {
     replace key <AC00> {  [ Control_L ] };
     replace key <AA00> {  [ Caps_Lock ] };
 };
@@ -30,27 +30,27 @@ xkb_symbols "ctrl_ac" {
 // to the middle row.  Only works if the geometry or keycodes
 // file has defined appropriate aliases for the keys in question.
 partial modifier_keys 
-xkb_symbols "ctrl_aa" {
+xkb_symbols "aa_ctrl" {
     replace key <AA00> {  [ Control_L ] };
     replace key <AC00> {  [ Caps_Lock ] };
 };
 
 // Right Ctrl works as Right Alt
 partial modifier_keys 
-xkb_symbols "ctrl_ra" {
+xkb_symbols "rctrl_ralt" {
     key <RCTL> {  symbols[Group1]= [ Alt_R ] };
 };
 
 // Menu works as Right Ctrl
 partial modifier_keys
-xkb_symbols "ctrl_menu" {
+xkb_symbols "menu_rctrl" {
   replace key <MENU> { [ Control_R, Control_R ] };
   modifier_map Control { Control_L, <MENU> };
 };
 
 // right alt functions as another ctrl key
 partial modifier_keys 
-xkb_symbols "ctrl_ralt" {
+xkb_symbols "ralt_rctrl" {
     replace key <RALT> { type[Group1]    = "TWO_LEVEL",
                          symbols[Group1] = [ Control_R, Control_R ] };
     modifier_map Control { <RALT> };