gb revision 154daed1
1// $XKeyboardConfig: xkeyboard-config/symbols/gb,v 1.12 2008-04-01 21:23:40 svu Exp $ 2 3// based on a keyboard map from an 'xkb/symbols/gb' file 4// 5// $XFree86: xc/programs/xkbcomp/symbols/gb,v 1.6 2003/10/04 10:25:14 pascal Exp $ 6 7partial default alphanumeric_keys 8xkb_symbols "basic" { 9 10 // Describes the differences between a very simple en_US 11 // keyboard and a very simple U.K. keyboard layout defined by 12 // the SVR4 European Language Supplement and sometimes also 13 // known as the IBM 166 layout. 14 15 include "latin" 16 17 name[Group1]="United Kingdom"; 18 19 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] }; 20 key <AE03> { [ 3, sterling, threesuperior, sterling ] }; 21 key <AE04> { [ 4, dollar, EuroSign, onequarter ] }; 22 23 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] }; 24 key <TLDE> { [ grave, notsign, bar, bar ] }; 25 26 key <BKSL> { [numbersign, asciitilde, dead_grave, dead_breve ] }; 27 key <LSGT> { [ backslash, bar, bar, brokenbar ] }; 28 29 include "level3(ralt_switch_multikey)" 30}; 31 32partial alphanumeric_keys 33xkb_symbols "intl" { 34 35 // Describes the differences between a very simple en_US 36 // keyboard and a very simple U.K. keyboard layout with 37 // dead keys. By Phil Jones (philjones1@blueyonder.co.uk) 38 39 // Includes the following keys: 40 // dead_grave 41 // dead_acute 42 // dead_circumflex 43 // dead_tilde 44 // dead_diaeresis 45 46 include "latin" 47 48 name[Group1]="United Kingdom - International (with dead keys)"; 49 50 key <AE02> { [ 2, dead_diaeresis, twosuperior, onehalf ] }; 51 key <AE03> { [ 3, sterling, threesuperior, onethird ] }; 52 key <AE04> { [ 4, dollar, EuroSign, onequarter ] }; 53 key <AE06> { [ 6, dead_circumflex, NoSymbol, onesixth ] }; 54 55 key <AC11> { [ dead_acute, at, apostrophe, bar ] }; 56 key <TLDE> { [ dead_grave, notsign, bar, bar ] }; 57 58 key <BKSL> { [ numbersign, dead_tilde, bar, bar ] }; 59 key <LSGT> { [ backslash, bar, bar, bar ] }; 60 61 include "level3(ralt_switch)" 62}; 63 64// Describe the differences between the US Colemak layout 65// and a UK variant. By Andy Buckley (andy@insectnation.org) 66 67partial alphanumeric_keys 68xkb_symbols "colemak" { 69 include "us(colemak)" 70 71 name[Group1]="United Kingdom - Colemak"; 72 73 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] }; 74 key <AE03> { [ 3, sterling, threesuperior, sterling ] }; 75 key <AE04> { [ 4, dollar, EuroSign, onequarter ] }; 76 77 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] }; 78 key <TLDE> { [ grave, notsign, bar, bar ] }; 79 80 key <BKSL> { [numbersign, asciitilde, dead_grave, dead_breve ] }; 81 key <LSGT> { [ backslash, bar, bar, brokenbar ] }; 82 83 include "level3(ralt_switch_multikey)" 84}; 85 86 87// Dvorak (UK) keymap (by odaen) allowing the usage of 88// the � and ? key and swapping the @ and " keys. 89 90partial alphanumeric_keys 91xkb_symbols "dvorak" { 92 include "us(dvorak)" 93 94 name[Group1]="United Kingdom - Dvorak"; 95 96 key <BKSL> { [ numbersign, asciitilde ] }; 97 key <AE02> { [ 2, quotedbl, twosuperior, NoSymbol ] }; 98 key <AE03> { [ 3, sterling, threesuperior, NoSymbol ] }; 99 key <AE04> { [ 4, dollar, EuroSign, NoSymbol ] }; 100 key <LSGT> { [ backslash, bar ] }; 101 key <AD01> { [ apostrophe, at ] }; 102}; 103 104// Copied from macintosh_vndr/gb 105partial alphanumeric_keys 106xkb_symbols "mac" { 107 108 // Describes the differences between a very simple en_US 109 // keyboard and a very simple U.K. keyboard layout 110 111 include "latin" 112 113 name[Group1]= "United Kingdom - Macintosh"; 114 115 key <AE02> { [ 2, at, EuroSign ] }; 116 key <AE03> { [ 3, sterling, numbersign ] }; 117 118 // End alphanumeric section 119 120 include "level3(ralt_switch)" 121}; 122 123 124