Advertisement
Wuodan0

/usr/share/X11/xkb/symbols/us

May 30th, 2012
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.84 KB | None | 0 0
  1. default
  2. partial alphanumeric_keys modifier_keys
  3. xkb_symbols "basic" {
  4.  
  5. name[Group1]= "English (US)";
  6.  
  7. // Alphanumeric section
  8. key <TLDE> { [ grave, asciitilde ] };
  9. key <AE01> { [ 1, exclam ] };
  10. key <AE02> { [ 2, at ] };
  11. key <AE03> { [ 3, numbersign ] };
  12. key <AE04> { [ 4, dollar ] };
  13. key <AE05> { [ 5, percent ] };
  14. key <AE06> { [ 6, asciicircum ] };
  15. key <AE07> { [ 7, ampersand ] };
  16. key <AE08> { [ 8, asterisk ] };
  17. key <AE09> { [ 9, parenleft ] };
  18. key <AE10> { [ 0, parenright ] };
  19. key <AE11> { [ minus, underscore ] };
  20. key <AE12> { [ equal, plus ] };
  21.  
  22. key <AD01> { [ q, Q ] };
  23. key <AD02> { [ w, W ] };
  24. key <AD03> { [ e, E ] };
  25. key <AD04> { [ r, R ] };
  26. key <AD05> { [ t, T ] };
  27. key <AD06> { [ y, Y ] };
  28. key <AD07> { [ u, U ] };
  29. key <AD08> { [ i, I ] };
  30. key <AD09> { [ o, O ] };
  31. key <AD10> { [ p, P ] };
  32. key <AD11> { [ bracketleft, braceleft ] };
  33. key <AD12> { [ bracketright, braceright ] };
  34.  
  35. key <AC01> { [ a, A ] };
  36. key <AC02> { [ s, S ] };
  37. key <AC03> { [ d, D ] };
  38. key <AC04> { [ f, F ] };
  39. key <AC05> { [ g, G ] };
  40. key <AC06> { [ h, H ] };
  41. key <AC07> { [ j, J ] };
  42. key <AC08> { [ k, K ] };
  43. key <AC09> { [ l, L ] };
  44. key <AC10> { [ semicolon, colon ] };
  45. key <AC11> { [ apostrophe, quotedbl ] };
  46.  
  47. key <AB01> { [ z, Z ] };
  48. key <AB02> { [ x, X ] };
  49. key <AB03> { [ c, C ] };
  50. key <AB04> { [ v, V ] };
  51. key <AB05> { [ b, B ] };
  52. key <AB06> { [ n, N ] };
  53. key <AB07> { [ m, M ] };
  54. key <AB08> { [ comma, less ] };
  55. key <AB09> { [ period, greater ] };
  56. key <AB10> { [ slash, question ] };
  57.  
  58. key <BKSL> { [ backslash, bar ] };
  59. // End alphanumeric section
  60. };
  61.  
  62. partial alphanumeric_keys
  63. xkb_symbols "euro" {
  64.  
  65. name[Group1]= "English (US, with euro on 5)";
  66.  
  67. include "us(basic)"
  68.  
  69. include "eurosign(5)"
  70.  
  71. include "level3(ralt_switch)"
  72. };
  73.  
  74.  
  75. partial alphanumeric_keys
  76. xkb_symbols "intl" {
  77.  
  78. name[Group1]= "English (US, international with dead keys)";
  79.  
  80. include "us(basic)"
  81.  
  82. // Alphanumeric section
  83. key <TLDE> { [dead_grave, dead_tilde, grave, asciitilde ] };
  84. key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
  85. key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] };
  86. key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] };
  87. key <AE04> { [ 4, dollar, currency, sterling ] };
  88. key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] };
  89. key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] };
  90. key <AE07> { [ 7, ampersand, onehalf, dead_horn ] };
  91. key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] };
  92. key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
  93. key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] };
  94. key <AE11> { [ minus, underscore, yen, dead_belowdot ] };
  95. key <AE12> { [ equal, plus, multiply, division ] };
  96.  
  97. key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
  98. key <AD02> { [ w, W, aring, Aring ] };
  99. key <AD03> { [ e, E, eacute, Eacute ] };
  100. key <AD04> { [ r, R, registered, registered ] };
  101. key <AD05> { [ t, T, thorn, THORN ] };
  102. key <AD06> { [ y, Y, udiaeresis, Udiaeresis ] };
  103. key <AD07> { [ u, U, uacute, Uacute ] };
  104. key <AD08> { [ i, I, iacute, Iacute ] };
  105. key <AD09> { [ o, O, oacute, Oacute ] };
  106. key <AD10> { [ p, P, odiaeresis, Odiaeresis ] };
  107. key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] };
  108. key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] };
  109.  
  110. key <AC01> { [ a, A, aacute, Aacute ] };
  111. key <AC02> { [ s, S, ssharp, section ] };
  112. key <AC03> { [ d, D, eth, ETH ] };
  113. key <AC04> { [ f, F, f, F ] };
  114. key <AC05> { [ g, G, g, G ] };
  115. key <AC06> { [ h, H, h, H ] };
  116. key <AC07> { [ j, J, j, J ] };
  117. key <AC08> { [ k, K, oe, OE ] };
  118.  
  119. key <AC09> { [ l, L, oslash, Ooblique ] };
  120. key <AC10> { [ semicolon, colon, paragraph, degree ] };
  121. key <AC11> { [dead_acute, dead_diaeresis, apostrophe, quotedbl ] };
  122.  
  123. key <AB01> { [ z, Z, ae, AE ] };
  124. key <AB02> { [ x, X, x, X ] };
  125. key <AB03> { [ c, C, copyright, cent ] };
  126. key <AB04> { [ v, V, v, V ] };
  127. key <AB05> { [ b, B, b, B ] };
  128. key <AB06> { [ n, N, ntilde, Ntilde ] };
  129. key <AB07> { [ m, M, mu, mu ] };
  130. key <AB08> { [ comma, less, ccedilla, Ccedilla ] };
  131. key <AB09> { [ period, greater, dead_abovedot, dead_caron ] };
  132. key <AB10> { [ slash, question, questiondown, dead_hook ] };
  133. key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
  134.  
  135. include "level3(ralt_switch)"
  136. };
  137.  
  138. // I do NOT like dead-keys - the International keyboard as defined by Microsoft
  139. // doesn't fit my needs. Why use two keystrokes for all simple characters (eg '
  140. // and <space> generates a single ') just to have an é (eacute) in two strokes
  141. // as well? I type ' more often than é (eacute).
  142. //
  143. // This file works just like a regular keyboard, BUT has all dead-keys
  144. // accessible at level3 (through AltGr). An ë (ediaeresis) is now: AltGr+"
  145. // followed by an e. In other words, this keyboard is not international as long
  146. // as you leave the right Alt key alone.
  147. //
  148. // The original MS International keyboard was intended for Latin1 (iso8859-1).
  149. // With the introduction of iso8859-15, the (important) ligature oe (and OE)
  150. // became available. I added them next to ae. Because I write ediaeresis more
  151. // often than registered, I moved registered to be next to copyright and added
  152. // ediaeresis and idiaeresis. - Adriaan
  153.  
  154. partial alphanumeric_keys
  155. xkb_symbols "altgr-intl" {
  156.  
  157. name[Group1]= "English (international AltGr dead keys)";
  158.  
  159. include "us(intl)"
  160.  
  161. // five dead keys moved into level3:
  162.  
  163. key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
  164. key <AC11> { [apostrophe,quotedbl, dead_acute, dead_diaeresis ] };
  165.  
  166. // diversions from the MS Intl keyboard:
  167.  
  168. key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
  169. key <AD04> { [ r, R, ediaeresis, Ediaeresis ] };
  170. key <AC07> { [ j, J, idiaeresis, Idiaeresis ] };
  171. key <AB02> { [ x, X, oe, OE ] };
  172. key <AB04> { [ v, V, registered, registered ] };
  173.  
  174. // onequarter etc (not in iso8859-15) moved to get three unshifted deadkeys:
  175.  
  176. key <AE06> { [ 6, asciicircum, dead_circumflex, onequarter ] };
  177. key <AE07> { [ 7, ampersand, dead_horn, onehalf ] };
  178. key <AE08> { [ 8, asterisk, dead_ogonek, threequarters ] };
  179.  
  180. include "level3(ralt_switch)"
  181. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement