~jm-leddy/ubuntu/precise/xkeyboard-config/micmute

« back to all changes in this revision

Viewing changes to symbols/group

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2012-01-24 00:35:43 UTC
  • mfrom: (12.3.3 sid)
  • Revision ID: package-import@ubuntu.com-20120124003543-crh44mpwp2rmb195
Tags: 2.5-1ubuntu1
* Merge from Debian experimental. Remaining Ubuntu changes:
  + rules, xkb-data-i18n.install, xkb-data.install: Split out
    xkb-data-i18n to be used by console-setup.
  + 105_intelligent_keyboard.patch: Add support for the Intelligent
    Keyboard K04
  + 108_fix_intltool_make_check.diff: Fix make check in the presence
    of the quilt patch system.
  + xkb-data.postinst.in: Migrate console-setup/keyboard-configuration
    settings from dvorak-intl to dvorak-alt-intl to match rename in
    xkeyboard-config 1.9. (LP: 742683)
* xkb-data.install: Add missing directories (man, pkgconfig).
* xkb-data.postinst: Remove the xkb cache to make sure it gets regenerated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
    key <RTSH>  {       [       Shift_R,        ISO_Next_Group ]        };
86
86
};
87
87
 
88
 
// using the group(ctrl_shift_toggle) map, pressing:
89
 
//     Control_L+Shift_L locks the previous group
90
 
//     Control_R+Shift_R locks the next group
91
 
// If you have two groups and group wrap is enabled, the effect is
92
 
// indistinguishable.
93
 
partial modifier_keys 
94
 
xkb_symbols "ctrl_shift_toggle" {
95
 
    key <LFSH> {
96
 
        type[Group1]="PC_CONTROL_LEVEL2",
97
 
        symbols[Group1]= [ Shift_L,     ISO_Prev_Group ]
98
 
    };
99
 
    key <RTSH> {
100
 
        type[Group1]="PC_CONTROL_LEVEL2",
101
 
        symbols[Group1]= [ Shift_R,     ISO_Next_Group ]
102
 
    };
103
 
    key <LCTL>  {       [       Control_L,      ISO_Prev_Group ]        };
104
 
    key <RCTL>  {       [       Control_R,      ISO_Next_Group ]        };
105
 
};
106
 
 
107
 
// using the group(lctrl_lshift_toggle) map, pressing:
108
 
//     Control_L+Shift_L locks the next group
109
 
// If you have two groups and group wrap is enabled, the effect is
110
 
// indistinguishable.
111
 
partial modifier_keys 
112
 
xkb_symbols "lctrl_lshift_toggle" {
113
 
    key <LFSH> {
114
 
        type[Group1]="PC_CONTROL_LEVEL2",
115
 
        symbols[Group1]= [ Shift_L,     ISO_Next_Group ]
116
 
    };
117
 
    key <LCTL>  {       [       Control_L,      ISO_Next_Group ]        };
118
 
};
119
 
 
120
 
// using the group(rctrl_rshift_toggle) map, pressing:
121
 
//     Control_R+Shift_R locks the next group
122
 
// If you have two groups and group wrap is enabled, the effect is
123
 
// indistinguishable.
124
 
partial modifier_keys
125
 
xkb_symbols "rctrl_rshift_toggle" {
126
 
    key <RTSH> {
127
 
    type[Group1]="PC_CONTROL_LEVEL2",
128
 
    symbols[Group1]= [ Shift_R, ISO_Next_Group ]
129
 
    };
130
 
    key <RCTL>  {   [   Control_R,  ISO_Next_Group ]    };
131
 
};
132
 
 
133
88
// using the group(shift_caps_toggle) map, pressing:
134
89
//     Shift+Caps Lock toggles group
135
90
partial modifier_keys
181
136
    };
182
137
};
183
138
 
184
 
// using the group(ctrl_alt_toggle) map, pressing:
185
 
//     Control_L+Alt_L locks the previous group
186
 
//     Control_R+Alt_R locks the next group
187
 
// If you have two groups and group wrap is enabled, the effect is
188
 
// indistinguishable.
 
139
 
 
140
//
 
141
// CTRL-SHIFT toggle section
 
142
//
 
143
partial modifier_keys 
 
144
xkb_symbols "lctrl_lshift_toggle" {
 
145
    key <LFSH> {
 
146
        type[Group1]="PC_CONTROL_LEVEL2",
 
147
        symbols[Group1]= [ Shift_L, ISO_Next_Group ]
 
148
    };
 
149
    key <LCTL> { [ Control_L, ISO_Next_Group ] };
 
150
};
 
151
 
 
152
partial modifier_keys 
 
153
xkb_symbols "lctrl_lshift_toggle_rev" {
 
154
    key <LFSH> {
 
155
        type[Group1]="PC_CONTROL_LEVEL2",
 
156
        symbols[Group1]= [ Shift_L, ISO_Prev_Group ]
 
157
    };
 
158
    key <LCTL> { [ Control_L, ISO_Prev_Group ] };
 
159
};
 
160
 
 
161
partial modifier_keys
 
162
xkb_symbols "rctrl_rshift_toggle" {
 
163
    key <RTSH> {
 
164
        type[Group1]="PC_CONTROL_LEVEL2",
 
165
        symbols[Group1]= [ Shift_R, ISO_Next_Group ]
 
166
    };
 
167
    key <RCTL> { [ Control_R, ISO_Next_Group ] };
 
168
};
 
169
 
 
170
partial modifier_keys 
 
171
xkb_symbols "ctrl_shift_toggle" {
 
172
    include "group(lctrl_lshift_toggle)"
 
173
    include "group(rctrl_rshift_toggle)"
 
174
};
 
175
 
 
176
partial modifier_keys 
 
177
xkb_symbols "ctrl_shift_toggle_bidir" {
 
178
    include "group(lctrl_lshift_toggle_rev)"
 
179
    include "group(rctrl_rshift_toggle)"
 
180
};
 
181
 
 
182
 
 
183
//
 
184
// CTRL-ALT toggle section
 
185
//
 
186
partial modifier_keys
 
187
xkb_symbols "lctrl_lalt_toggle" {
 
188
    virtual_modifiers Alt;
 
189
    key <LALT> {
 
190
        type[Group1]="PC_CONTROL_LEVEL2",
 
191
        symbols[Group1]= [ NoSymbol,    ISO_Next_Group ],
 
192
        virtualMods= Alt
 
193
    };
 
194
    key <LCTL> {
 
195
        type[Group1]="PC_ALT_LEVEL2",
 
196
        symbols[Group1]= [ Control_L,   ISO_Next_Group ]
 
197
    };
 
198
};
 
199
 
 
200
partial modifier_keys
 
201
xkb_symbols "lctrl_lalt_toggle_rev" {
 
202
    virtual_modifiers Alt;
 
203
    key <LALT> {
 
204
        type[Group1]="PC_CONTROL_LEVEL2",
 
205
        symbols[Group1]= [ NoSymbol,    ISO_Prev_Group ],
 
206
        virtualMods= Alt
 
207
    };
 
208
    key <LCTL> {
 
209
        type[Group1]="PC_ALT_LEVEL2",
 
210
        symbols[Group1]= [ Control_L,   ISO_Prev_Group ]
 
211
    };
 
212
};
 
213
 
 
214
partial modifier_keys
 
215
xkb_symbols "rctrl_ralt_toggle" {
 
216
    virtual_modifiers Alt;
 
217
    key <RALT> {
 
218
        type[Group1]="PC_CONTROL_LEVEL2",
 
219
        symbols[Group1]= [ NoSymbol,    ISO_Next_Group ],
 
220
        virtualMods= Alt
 
221
    };
 
222
    key <RCTL> {
 
223
        type[Group1]="PC_ALT_LEVEL2",
 
224
        symbols[Group1]= [ Control_R,   ISO_Next_Group ]
 
225
    };
 
226
};
 
227
 
189
228
partial modifier_keys 
190
229
xkb_symbols "ctrl_alt_toggle" {
191
 
    virtual_modifiers Alt;
192
 
    key <LALT> {
193
 
        type[Group1]="PC_CONTROL_LEVEL2",
194
 
        symbols[Group1]= [ NoSymbol,    ISO_Prev_Group ],
195
 
        virtualMods= Alt
196
 
    };
 
230
    include "group(lctrl_lalt_toggle)"
 
231
    include "group(rctrl_ralt_toggle)"
 
232
};
 
233
 
 
234
partial modifier_keys 
 
235
xkb_symbols "ctrl_alt_toggle_bidir" {
 
236
    include "group(lctrl_lalt_toggle_rev)"
 
237
    include "group(rctrl_ralt_toggle)"
 
238
};
 
239
 
 
240
 
 
241
//
 
242
// ALT-SHIFT toggle section
 
243
//
 
244
partial modifier_keys
 
245
xkb_symbols "lalt_lshift_toggle" {
 
246
    virtual_modifiers Alt;
 
247
    key <LALT> {
 
248
        symbols[Group1]= [ NoSymbol,    ISO_Next_Group ],
 
249
        virtualMods= Alt
 
250
    };
 
251
    key <LFSH> {
 
252
        type[Group1]="PC_ALT_LEVEL2",
 
253
        symbols[Group1]= [ Shift_L,     ISO_Next_Group ]
 
254
    };
 
255
};
 
256
 
 
257
partial modifier_keys
 
258
xkb_symbols "lalt_lshift_toggle_rev" {
 
259
    virtual_modifiers Alt;
 
260
    key <LALT> {
 
261
        symbols[Group1]= [ NoSymbol,    ISO_Prev_Group ],
 
262
        virtualMods= Alt
 
263
    };
 
264
    key <LFSH> {
 
265
        type[Group1]="PC_ALT_LEVEL2",
 
266
        symbols[Group1]= [ Shift_L,     ISO_Prev_Group ]
 
267
    };
 
268
};
 
269
 
 
270
partial modifier_keys
 
271
xkb_symbols "ralt_rshift_toggle" {
 
272
    virtual_modifiers Alt;
197
273
    key <RALT> {
198
 
        type[Group1]="PC_CONTROL_LEVEL2",
199
 
        symbols[Group1]= [ NoSymbol,    ISO_Next_Group ],
200
 
        virtualMods= Alt
201
 
    };
202
 
    key <LCTL> {
203
 
        type[Group1]="PC_ALT_LEVEL2",
204
 
        symbols[Group1]= [ Control_L,   ISO_Prev_Group ]
205
 
    };
206
 
    key <RCTL> {
207
 
        type[Group1]="PC_ALT_LEVEL2",
208
 
        symbols[Group1]= [ Control_R,   ISO_Next_Group ]
 
274
        symbols[Group1]= [ NoSymbol,    ISO_Next_Group ],
 
275
        virtualMods= Alt
 
276
    };
 
277
    key <RTSH> {
 
278
        type[Group1]="PC_ALT_LEVEL2",
 
279
        symbols[Group1]= [ Shift_R,     ISO_Next_Group ]
209
280
    };
210
281
};
211
282
 
212
 
// using the group(alt_shift_toggle) map, pressing:
213
 
//     Shift_L+Alt_L locks the previous group
214
 
//     Shift_R+Alt_R locks the next group
215
 
// If you have two groups and group wrap is enabled, the effect is
216
 
// indistinguishable.
217
283
partial modifier_keys 
218
284
xkb_symbols "alt_shift_toggle" {
219
 
    virtual_modifiers Alt;
220
 
    key <LALT> {
221
 
        symbols[Group1]= [ NoSymbol,    ISO_Prev_Group ],
222
 
        virtualMods= Alt
223
 
    };
224
 
    key <RALT> {
225
 
        symbols[Group1]= [ NoSymbol,    ISO_Next_Group ],
226
 
        virtualMods= Alt
227
 
    };
228
 
    key <LFSH> {
229
 
        type[Group1]="PC_ALT_LEVEL2",
230
 
        symbols[Group1]= [ Shift_L,     ISO_Prev_Group ]
231
 
    };
232
 
    key <RTSH> {
233
 
        type[Group1]="PC_ALT_LEVEL2",
234
 
        symbols[Group1]= [ Shift_R,     ISO_Next_Group ]
235
 
    };
236
 
};
 
285
    include "group(lalt_lshift_toggle)"
 
286
    include "group(ralt_rshift_toggle)"
 
287
};
 
288
 
 
289
partial modifier_keys 
 
290
xkb_symbols "alt_shift_toggle_bidir" {
 
291
    include "group(lalt_lshift_toggle_rev)"
 
292
    include "group(ralt_rshift_toggle)"
 
293
};
 
294
 
237
295
 
238
296
// using the group(menu_toggle) map, pressing:
239
297
//     Menu key toggles groups