Änderung 1875 von linux


Ignorieren:
Zeitstempel:
21.05.2009 16:31:45 (vor 10 Jahren)
Autor:
stephan
Nachricht:

symbols/level3 an git-Version von xkeyboard-config angepasst.

Datei:
1 bearbeitet

Legende:

Unverändert
Hinzugefügt
Entfernt
  • linux/X/symbols/level3

    r1864 r1875  
    1 // $XdotOrg 
    2 // $XKeyboardConfig: xkbdesc/symbols/level3,v 1.6 2004/10/09 17:40:26 svu Exp $ 
     1// $XKeyboardConfig$ 
    32 
    43// these variants assign various XKB keycodes to ISO_Level3_Shift so that 
     
    1918}; 
    2019 
     20// Right Alt key never chooses 3rd level. 
     21// This option attempts to undo the effect of a layout's 
     22// including ralt_switch.  You may also want to select another 
     23// level3 option that maps the level3 shift to some other key. 
     24partial modifier_keys 
     25xkb_symbols "ralt_alt" { 
     26  key <RALT> {  
     27    type[Group1]="TWO_LEVEL", 
     28    type[Group2]="TWO_LEVEL", 
     29    type[Group3]="TWO_LEVEL", 
     30    type[Group4]="TWO_LEVEL", 
     31    symbols[Group1] = [ Alt_R, Meta_R ],  
     32    symbols[Group2] = [ Alt_R, Meta_R ],  
     33    symbols[Group3] = [ Alt_R, Meta_R ],  
     34    symbols[Group4] = [ Alt_R, Meta_R ] 
     35    }; 
     36  modifier_map Mod1    { <RALT> }; 
     37}; 
     38 
     39partial modifier_keys 
     40xkb_symbols "ralt_switch_multikey" { 
     41  key <RALT> { 
     42    type[Group1]="TWO_LEVEL", 
     43    symbols[Group1] = [ ISO_Level3_Shift, Multi_key ] 
     44    }; 
     45}; 
     46 
     47// special case or right Alt switch - for use with grp:alts_toggle 
     48// 
     49partial hidden modifier_keys 
     50xkb_symbols "ralt_switch_for_alts_toggle" { 
     51 virtual_modifiers LAlt, AlGr; 
     52  key <LALT> { 
     53    type[Group1]="PC_RALT_LEVEL2", 
     54    symbols[Group1] = [ Alt_L,  ISO_Prev_Group,  ISO_Prev_Group ], 
     55    virtualMods= LAlt 
     56  }; 
     57  key <RALT> { 
     58    type[Group1]="PC_ALT_LEVEL2", 
     59    symbols[Group1] = [ ISO_Level3_Shift, ISO_Next_Group ], 
     60    virtualMods= AltGr 
     61  }; 
     62  modifier_map Mod5   { ISO_Level3_Shift }; 
     63}; 
     64 
    2165// using the level(alt_switch) map, either Alt key temporarily chooses 
    2266// the third shift level.  (Mostly be used to imitate Mac OS functionality.) 
     
    3377    symbols[Group1] = [ ISO_Level3_Shift ] 
    3478    }; 
    35   modifier_map Mod5   { ISO_Level3_Shift }; 
     79  modifier_map Mod5   { <LALT> }; 
    3680}; 
    3781 
     
    58102}; 
    59103 
    60 // using the level(win_switch) map, the either Windows' logo key 
    61 // temporarily chooses the third shift level.  If you use this map, 
    62 // you should define your keyboard as pc101 or pc102 instead of pc104 
    63 // or pc105. 
     104// using the level3(win_switch) map, the either Windows' logo key 
     105// temporarily chooses the third shift level. 
    64106partial modifier_keys 
    65107xkb_symbols "win_switch" { 
     
    68110}; 
    69111 
    70 // using the level(lwin_switch) map, the left Windows' logo key 
    71 // temporarily chooses the third shift level.  If you use this map, 
    72 // you should define your keyboard as pc101 or pc102 instead of pc104 
    73 // or pc105. 
     112// using the level3(lwin_switch) map, the left Windows' logo key 
     113// temporarily chooses the third shift level. 
    74114partial modifier_keys 
    75115xkb_symbols "lwin_switch" { 
     
    94134}; 
    95135 
     136// using the level3(enter_switch) map, the Enter key on the keypad 
     137// temporarily chooses the third shift level.  This is especially 
     138// useful for Mac laptops which miss the right Alt key. 
     139partial modifier_keys 
     140xkb_symbols "enter_switch" { 
     141  key <KPEN> { 
     142    type[Group1]="ONE_LEVEL", 
     143    symbols[Group1] = [ ISO_Level3_Shift ] 
     144    }; 
     145  modifier_map Mod5   { ISO_Level3_Shift }; 
     146}; 
    96147 
    97148partial modifier_keys 
     
    148199  modifier_map Mod5   { ISO_Level3_Shift }; 
    149200}; 
    150  
    151  
Hinweis: Hilfe zur Verwendung der Changeset-Ansicht finden Sie unter TracChangeset.