~ubuntu-branches/ubuntu/raring/xkeyboard-config/raring

« back to all changes in this revision

Viewing changes to symbols/capslock

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2011-04-06 02:41:25 UTC
  • mto: (12.3.3 sid)
  • mto: This revision was merged to the branch mainline in revision 74.
  • Revision ID: james.westby@ubuntu.com-20110406024125-viz2oxc3mwv20d44
Tags: upstream-2.2.1
ImportĀ upstreamĀ versionĀ 2.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $XKeyboardConfig$
2
 
 
3
1
default partial hidden modifier_keys
4
2
xkb_symbols "capslock" {
5
3
    replace key <CAPS> {        [       Caps_Lock               ]       };
63
61
    key <CAPS> {        [       Num_Lock  ]       };
64
62
};
65
63
 
 
64
// This changes the modifier behavior of the <CAPS> key.
 
65
// The keysym will be reset to Caps_Lock
 
66
partial hidden modifier_keys
 
67
xkb_symbols "ctrl_modifier" {
 
68
    replace key <CAPS> {
 
69
        type[Group1] = "ONE_LEVEL",
 
70
        symbols[Group1] = [ Caps_Lock ],
 
71
        actions[Group1] = [ SetMods(modifiers=Control) ]    
 
72
    };
 
73
    modifier_map Control { <CAPS> };
 
74
};