1
0

symbols-multi-keysyms-empty.xkb 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. xkb_keymap {
  2. xkb_keycodes {
  3. minimum = 8;
  4. maximum = 255;
  5. <10> = 10;
  6. <11> = 11;
  7. <12> = 12;
  8. <13> = 13;
  9. <14> = 14;
  10. <15> = 15;
  11. <16> = 16;
  12. <17> = 17;
  13. <18> = 18;
  14. <19> = 19;
  15. <20> = 20;
  16. <21> = 21;
  17. <22> = 22;
  18. <23> = 23;
  19. <30> = 30;
  20. <31> = 31;
  21. <32> = 32;
  22. <33> = 33;
  23. <34> = 34;
  24. <35> = 35;
  25. <36> = 36;
  26. <37> = 37;
  27. <38> = 38;
  28. <39> = 39;
  29. };
  30. xkb_types "basic_extra" {
  31. virtual_modifiers NumLock=0x100,Alt=0x200,LevelThree=0x400;
  32. type "ONE_LEVEL" {
  33. modifiers= none;
  34. level_name[1]= "Any";
  35. };
  36. type "TWO_LEVEL" {
  37. modifiers= Shift;
  38. map[Shift]= 2;
  39. level_name[1]= "Base";
  40. level_name[2]= "Shift";
  41. };
  42. type "ALPHABETIC" {
  43. modifiers= Shift+Lock;
  44. map[Shift]= 2;
  45. map[Lock]= 2;
  46. level_name[1]= "Base";
  47. level_name[2]= "Caps";
  48. };
  49. type "FOUR_LEVEL" {
  50. modifiers= Shift+LevelThree;
  51. map[Shift]= 2;
  52. map[LevelThree]= 3;
  53. map[Shift+LevelThree]= 4;
  54. level_name[1]= "Base";
  55. level_name[2]= "Shift";
  56. level_name[3]= "Alt Base";
  57. level_name[4]= "Shift Alt";
  58. };
  59. type "FOUR_LEVEL_ALPHABETIC" {
  60. modifiers= Shift+Lock+LevelThree;
  61. map[Shift]= 2;
  62. map[Lock]= 2;
  63. map[LevelThree]= 3;
  64. map[Shift+LevelThree]= 4;
  65. map[Lock+LevelThree]= 4;
  66. map[Shift+Lock+LevelThree]= 3;
  67. level_name[1]= "Base";
  68. level_name[2]= "Shift";
  69. level_name[3]= "Alt Base";
  70. level_name[4]= "Shift Alt";
  71. };
  72. type "FOUR_LEVEL_SEMIALPHABETIC" {
  73. modifiers= Shift+Lock+LevelThree;
  74. map[Shift]= 2;
  75. map[Lock]= 2;
  76. map[LevelThree]= 3;
  77. map[Shift+LevelThree]= 4;
  78. map[Lock+LevelThree]= 3;
  79. preserve[Lock+LevelThree]= Lock;
  80. map[Shift+Lock+LevelThree]= 4;
  81. preserve[Shift+Lock+LevelThree]= Lock;
  82. level_name[1]= "Base";
  83. level_name[2]= "Shift";
  84. level_name[3]= "Alt Base";
  85. level_name[4]= "Shift Alt";
  86. };
  87. type "FOUR_LEVEL_MIXED_KEYPAD" {
  88. modifiers= Shift+NumLock+LevelThree;
  89. map[NumLock]= 2;
  90. map[Shift]= 2;
  91. map[LevelThree]= 3;
  92. map[NumLock+LevelThree]= 3;
  93. map[Shift+LevelThree]= 4;
  94. map[Shift+NumLock+LevelThree]= 4;
  95. level_name[1]= "Base";
  96. level_name[2]= "Number";
  97. level_name[3]= "Alt Base";
  98. level_name[4]= "Shift Alt";
  99. };
  100. type "FOUR_LEVEL_X" {
  101. modifiers= Shift+Control+Alt+LevelThree;
  102. map[LevelThree]= 2;
  103. map[Shift+LevelThree]= 3;
  104. map[Control+Alt]= 4;
  105. level_name[1]= "Base";
  106. level_name[2]= "Alt Base";
  107. level_name[3]= "Shift Alt";
  108. level_name[4]= "Ctrl+Alt";
  109. };
  110. type "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC" {
  111. modifiers= Shift+Lock+LevelThree;
  112. map[Shift]= 2;
  113. map[Lock]= 4;
  114. preserve[Lock]= Lock;
  115. map[LevelThree]= 3;
  116. map[Shift+LevelThree]= 4;
  117. map[Lock+LevelThree]= 3;
  118. preserve[Lock+LevelThree]= Lock;
  119. map[Shift+Lock+LevelThree]= 3;
  120. level_name[1]= "Base";
  121. level_name[2]= "Shift";
  122. level_name[3]= "AltGr Base";
  123. level_name[4]= "Shift AltGr";
  124. };
  125. type "FOUR_LEVEL_PLUS_LOCK" {
  126. modifiers= Shift+Lock+LevelThree;
  127. map[Shift]= 2;
  128. map[LevelThree]= 3;
  129. map[Shift+LevelThree]= 4;
  130. map[Lock]= 5;
  131. map[Shift+Lock]= 2;
  132. map[Lock+LevelThree]= 3;
  133. map[Shift+Lock+LevelThree]= 4;
  134. level_name[1]= "Base";
  135. level_name[2]= "Shift";
  136. level_name[3]= "Alt Base";
  137. level_name[4]= "Shift Alt";
  138. level_name[5]= "Lock";
  139. };
  140. };
  141. xkb_compatibility {
  142. virtual_modifiers NumLock=0x100,Alt=0x200,LevelThree=0x400;
  143. interpret.useModMapMods= AnyLevel;
  144. interpret.repeat= False;
  145. interpret 1+AnyOfOrNone(all) {
  146. action= NoAction();
  147. };
  148. interpret 2+AnyOfOrNone(all) {
  149. action= NoAction();
  150. };
  151. interpret 3+AnyOfOrNone(all) {
  152. action= SetMods(modifiers=none);
  153. };
  154. interpret 4+AnyOfOrNone(all) {
  155. action= {SetMods(modifiers=none), SetGroup(group=1)};
  156. };
  157. };
  158. xkb_symbols {
  159. key <12> {
  160. repeat= No,
  161. symbols[1]= [ NoSymbol ],
  162. actions[1]= [ SetMods(modifiers=Shift) ]
  163. };
  164. key <13> {
  165. repeat= No,
  166. symbols[1]= [ NoSymbol ],
  167. actions[1]= [ SetMods(modifiers=Shift) ]
  168. };
  169. key <14> {
  170. type= "TWO_LEVEL",
  171. symbols[1]= [ NoSymbol, NoSymbol ]
  172. };
  173. key <15> {
  174. type= "TWO_LEVEL",
  175. symbols[1]= [ NoSymbol, NoSymbol ]
  176. };
  177. key <16> { [ a, A ] };
  178. key <17> { [ a, A ] };
  179. key <18> {
  180. type= "FOUR_LEVEL_SEMIALPHABETIC",
  181. symbols[1]= [ a, A, NoSymbol, NoSymbol ]
  182. };
  183. key <19> {
  184. type= "FOUR_LEVEL_SEMIALPHABETIC",
  185. symbols[1]= [ a, A, NoSymbol, NoSymbol ]
  186. };
  187. key <20> { [ a, A, ae, NoSymbol ] };
  188. key <21> { [ a, A, ae, NoSymbol ] };
  189. key <22> { [ a, A, ae, AE ] };
  190. key <23> { [ a, A, ae, AE ] };
  191. key <32> {
  192. repeat= No,
  193. symbols[1]= [ a ],
  194. actions[1]= [ NoAction() ]
  195. };
  196. key <33> {
  197. repeat= No,
  198. symbols[1]= [ a ],
  199. actions[1]= [ NoAction() ]
  200. };
  201. key <34> {
  202. type= "TWO_LEVEL",
  203. repeat= No,
  204. symbols[1]= [ NoSymbol, NoSymbol ],
  205. actions[1]= [ NoAction(), NoAction() ]
  206. };
  207. key <35> {
  208. type= "TWO_LEVEL",
  209. repeat= No,
  210. symbols[1]= [ NoSymbol, NoSymbol ],
  211. actions[1]= [ NoAction(), NoAction() ]
  212. };
  213. key <38> {
  214. type= "FOUR_LEVEL_SEMIALPHABETIC",
  215. repeat= No,
  216. symbols[1]= [ NoSymbol, NoSymbol, NoSymbol, NoSymbol ],
  217. actions[1]= [ NoAction(), NoAction(), NoAction(), NoAction() ]
  218. };
  219. key <39> {
  220. type= "FOUR_LEVEL_SEMIALPHABETIC",
  221. repeat= No,
  222. symbols[1]= [ NoSymbol, NoSymbol, NoSymbol, NoSymbol ],
  223. actions[1]= [ NoAction(), NoAction(), NoAction(), NoAction() ]
  224. };
  225. };
  226. };