logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

lv (19282B)


  1. // Latvian keymap version 1.3
  2. // Copyright (C) Dmitry Golubev <lastguru@mail.ru>, 2003-2004
  3. //
  4. // Reworked to get rid of dead_keys (use of which in this case
  5. // is a dirty hack). It is now not dependent on locale settings
  6. // and GTK_IM_MODULES in Gnome. The map is also providing some of
  7. // ISO9995-3 alternate characters. Note that this version works
  8. // correctly under Gnome 2.6. This is to be put into symbols/
  9. // directory, or somewhere else.
  10. //
  11. // Permission to use, copy, modify, distribute, and sell this software and its
  12. // documentation for any purpose is hereby granted without fee, provided that
  13. // the above copyright notice appear in all copies and that both that
  14. // copyright notice and this permission notice appear in supporting
  15. // documentation, and that the name of the copyright holder(s) not be used in
  16. // advertising or publicity pertaining to distribution of the software without
  17. // specific, written prior permission. The copyright holder(s) makes no
  18. // representations about the suitability of this software for any purpose. It
  19. // is provided "as is" without express or implied warranty.
  20. //
  21. // THE COPYRIGHT HOLDER(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  22. // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  23. // EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  24. // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  25. // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  26. // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  27. // PERFORMANCE OF THIS SOFTWARE.
  28. // Modified by Aldis Berjoza <aldis@bsdroot.lv>, 12 april 2011
  29. // Changes:
  30. // * Added Latvian Ergonomic, Latvian Adapted and Latvian Modern variants
  31. // Author of this work is Valdis Vītoliņš
  32. // http://odo.lv/LatvianKeyboard
  33. // http://odo.lv/Recipes/LatvianKeyboard#HErgonomiskC481stastatC5ABrasuzlikC5A1anauzLinuxdatora%22
  34. // * Added guillemotleft, leftdoublequotemark, guillemotright,
  35. // rightdoublequotemark to Latvian modern layout for AD11 and AD12
  36. // * Added US-Dvorac compatible Latvian layouts
  37. // * Added programmer US-Dvorac compatible Latvian layouts
  38. // * Added US-Colemak compatible Latvian layouts
  39. // * Reformatted layouts
  40. //============================================================================
  41. // Latvian QWERTY layout
  42. // http://en.wikipedia.org/wiki/QWERTY
  43. //
  44. default partial alphanumeric_keys modifier_keys
  45. xkb_symbols "basic" {
  46. name[Group1]= "Latvian";
  47. key <TLDE> {[ grave, asciitilde, acute, asciitilde ]};
  48. key <AE01> {[ 1, exclam, onesuperior, exclamdown ]};
  49. key <AE02> {[ 2, at, twosuperior, oneeighth ]};
  50. key <AE03> {[ 3, numbersign, threesuperior, sterling ]};
  51. key <AE04> {[ 4, dollar, EuroSign, cent ]};
  52. key <AE05> {[ 5, percent, onehalf, threeeighths ]};
  53. key <AE06> {[ 6, asciicircum, threequarters, fiveeighths ]};
  54. key <AE07> {[ 7, ampersand, braceleft, seveneighths ]};
  55. key <AE08> {[ 8, asterisk, bracketleft, trademark ]};
  56. key <AE09> {[ 9, parenleft, bracketright, plusminus ]};
  57. key <AE10> {[ 0, parenright, braceright, degree ]};
  58. key <AE11> {[ minus, underscore, backslash, questiondown ]};
  59. key <AE12> {[ equal, plus, endash, emdash ]};
  60. key <AD01> {[ q, Q, q, Q ]};
  61. key <AD02> {[ w, W, w, W ]};
  62. key <AD03> {[ e, E, emacron, Emacron ]};
  63. key <AD04> {[ r, R, rcedilla, Rcedilla ]};
  64. key <AD05> {[ t, T, t, T ]};
  65. key <AD06> {[ y, Y, y, Y ]};
  66. key <AD07> {[ u, U, umacron, Umacron ]};
  67. key <AD08> {[ i, I, imacron, Imacron ]};
  68. key <AD09> {[ o, O, omacron, Omacron ]};
  69. key <AD10> {[ p, P, p, P ]};
  70. key <AD11> {[ bracketleft, braceleft, guillemotleft, leftdoublequotemark ]};
  71. key <AD12> {[ bracketright, braceright, guillemotright, rightdoublequotemark ]};
  72. key <AC01> {[ a, A, amacron, Amacron ]};
  73. key <AC02> {[ s, S, scaron, Scaron ]};
  74. key <AC03> {[ d, D, d, D ]};
  75. key <AC04> {[ f, F, f, F ]};
  76. key <AC05> {[ g, G, gcedilla, Gcedilla ]};
  77. key <AC06> {[ h, H, h, H ]};
  78. key <AC07> {[ j, J, j, J ]};
  79. key <AC08> {[ k, K, kcedilla, Kcedilla ]};
  80. key <AC09> {[ l, L, lcedilla, Lcedilla ]};
  81. key <AC10> {[ semicolon, colon, semicolon, colon ]};
  82. key <AC11> {[ apostrophe, quotedbl, leftdoublequotemark, doublelowquotemark ]};
  83. key <AB01> {[ z, Z, zcaron, Zcaron ]};
  84. key <AB02> {[ x, X, x, X ]};
  85. key <AB03> {[ c, C, ccaron, Ccaron ]};
  86. key <AB04> {[ v, V, v, V ]};
  87. key <AB05> {[ b, B, b, B ]};
  88. key <AB06> {[ n, N, ncedilla, Ncedilla ]};
  89. key <AB07> {[ m, M, m, M ]};
  90. key <AB08> {[ comma, less, U2022, multiply ]}; // bullet
  91. key <AB09> {[ period, greater, periodcentered, division ]};
  92. key <AB10> {[ slash, question, slash, abovedot ]};
  93. key <BKSL> {[ backslash, bar, grave, breve ]};
  94. key <SPCE> {[ space, space, space, space ]};
  95. include "level3(ralt_switch)"
  96. };
  97. partial alphanumeric_keys modifier_keys
  98. xkb_symbols "apostrophe" {
  99. include "lv(basic)"
  100. name[Group1]= "Latvian (apostrophe)";
  101. key <AC11> {[ISO_Level3_Latch, quotedbl, apostrophe, quotedbl]};
  102. key <SPCE> {[space, space, apostrophe]};
  103. modifier_map Mod5 { <AC11> };
  104. };
  105. partial alphanumeric_keys modifier_keys
  106. xkb_symbols "apostrophe-deadquotes" {
  107. include "lv(basic)"
  108. name[Group1]= "Latvian (apostrophe, dead quotes)";
  109. key <AC11> {[ISO_Level3_Latch, ISO_Level3_Latch, apostrophe, quotedbl]};
  110. key <SPCE> {[space, space, apostrophe, quotedbl]};
  111. modifier_map Mod5 { <AC11> };
  112. };
  113. partial alphanumeric_keys modifier_keys
  114. xkb_symbols "tilde" {
  115. include "lv(basic)"
  116. name[Group1]= "Latvian (tilde)";
  117. key <TLDE> {[ISO_Level3_Latch, asciitilde, grave, acute]};
  118. key <SPCE> {[space, space, asciitilde]};
  119. modifier_map Mod5 { <TLDE> };
  120. };
  121. partial alphanumeric_keys modifier_keys
  122. xkb_symbols "fkey" {
  123. include "lv(basic)"
  124. name[Group1]= "Latvian (F)";
  125. key <AC04> {[ISO_Level3_Latch, ISO_Level3_Latch, f, F]};
  126. key <SPCE> {[space, space, f, F]};
  127. modifier_map Mod5 { <AC04> };
  128. };
  129. //============================================================================
  130. // Latvian Adapted keyboard layout
  131. // http://odo.lv/xwiki/bin/download/Main/LatvianKeyboard/Adapted.png
  132. //
  133. // http://odo.lv/LatvianKeyboard
  134. // http://odo.lv/LatvianKeyboard5
  135. //
  136. partial alphanumeric_keys modifier_keys
  137. xkb_symbols "adapted" {
  138. include "lv(basic)"
  139. name[Group1]= "Latvian (adapted)";
  140. key <AE02> {[ 2, Ccaron, at, twosuperior ]};
  141. key <AE03> {[ 3, ccaron, numbersign, threesuperior ]};
  142. key <AE04> {[ 4, Zcaron, dollar, EuroSign ]};
  143. key <AE05> {[ 5, zcaron, percent, onehalf ]};
  144. key <AD01> {[ scaron, Scaron, q, Q ]};
  145. key <AD02> {[ emacron, Emacron, w, W ]};
  146. key <AD03> {[ e, E, e, E ]};
  147. key <AD06> {[ amacron, Amacron, y, Y ]};
  148. key <AD07> {[ u, U, u, U ]};
  149. key <AD08> {[ i, I, i, I ]};
  150. key <AD11> {[ umacron, Umacron, bracketleft, braceleft ]};
  151. key <AD12> {[ ncedilla, Ncedilla, bracketright, braceright ]};
  152. key <AC01> {[ a, A, a, A ]};
  153. key <AC02> {[ s, S, s, S ]};
  154. key <AC05> {[ g, G, g, G ]};
  155. key <AC08> {[ k, K, k, K ]};
  156. key <AC09> {[ l, L, l, L ]};
  157. key <AC10> {[ imacron, Imacron, semicolon, colon ]};
  158. key <AB01> {[ z, Z, z, Z ]};
  159. key <AB02> {[ kcedilla, Kcedilla, x, X ]};
  160. key <AB03> {[ c, C, c, C ]};
  161. key <AB06> {[ n, N, n, N ]};
  162. key <AB08> {[ comma, gcedilla, less, multiply ]};
  163. key <AB09> {[ period, Gcedilla, greater, division ]};
  164. key <AB10> {[ lcedilla, Lcedilla, slash, question ]};
  165. };
  166. //============================================================================
  167. // Latvian Ergonomic (ŪGJRMV) keyboard layout by Valdis Vītoliņš
  168. // http://odo.lv/xwiki/bin/download/Main/LatvianKeyboard/Ergonomic.png
  169. //
  170. // http://odo.lv/LatvianKeyboard
  171. // http://odo.lv/LatvianKeyboard5
  172. //
  173. partial alphanumeric_keys modifier_keys
  174. xkb_symbols "ergonomic" {
  175. include "lv(apostrophe)"
  176. name[Group1]= "Latvian (ergonomic, ŪGJRMV)";
  177. key <AE02> {[ 2, at, gcedilla, Gcedilla ]};
  178. key <AE11> {[ minus, underscore, endash, emdash ]};
  179. key <AE12> {[ f, F, equal, plus ]};
  180. key <AD01> {[ umacron, Umacron, q, Q ]};
  181. key <AD02> {[ g, G, g, G ]};
  182. key <AD03> {[ j, J, j, J ]};
  183. key <AD04> {[ r, R, rcedilla, Rcedilla ]};
  184. key <AD05> {[ m, M, m, M ]};
  185. key <AD06> {[ v, V, w, W ]};
  186. key <AD07> {[ n, N, y, Y ]};
  187. key <AD08> {[ z, Z, z, Z ]};
  188. key <AD09> {[ emacron, Emacron, emacron, Emacron ]};
  189. key <AD10> {[ ccaron, Ccaron, ccaron, Ccaron ]};
  190. key <AD11> {[ zcaron, Zcaron, bracketleft, braceleft ]};
  191. key <AD12> {[ h, H, bracketright, braceright ]};
  192. key <AC01> {[ scaron, Scaron, scaron, Scaron ]};
  193. key <AC02> {[ u, U, u, U ]};
  194. key <AC03> {[ s, S, s, S ]};
  195. key <AC04> {[ i, I, i, I ]};
  196. key <AC05> {[ l, L, l, L ]};
  197. key <AC06> {[ d, D, d, D ]};
  198. key <AC07> {[ a, A, a, A ]};
  199. key <AC08> {[ t, T, t, T ]};
  200. key <AC09> {[ e, E, e, E ]};
  201. key <AC10> {[ c, C, c, C ]};
  202. key <AC11> {[ ISO_Level3_Latch, quotedbl, apostrophe, quotedbl ]};
  203. key <AC12> {[ kcedilla, Kcedilla, slash, backslash ]};
  204. key <LSGT> {[ gcedilla, Gcedilla, gcedilla, Gcedilla ]};
  205. key <AB01> {[ ncedilla, Ncedilla, ncedilla, Ncedilla ]};
  206. key <AB02> {[ b, B, x, X ]};
  207. key <AB03> {[ imacron, Imacron, imacron, Imacron ]};
  208. key <AB04> {[ k, K, k, K ]};
  209. key <AB05> {[ p, P, p, P ]};
  210. key <AB06> {[ o, O, omacron, Omacron ]};
  211. key <AB07> {[ amacron, Amacron, amacron, Amacron ]};
  212. key <AB08> {[ comma, semicolon, less, multiply ]};
  213. key <AB09> {[ period, colon, greater, division ]};
  214. key <AB10> {[ lcedilla, Lcedilla, question, slash ]};
  215. };
  216. //============================================================================
  217. // Latvian Modern keyboard layout by Valdis Vītoliņš
  218. // http://odo.lv/xwiki/bin/download/Recipes/LatvianKeyboard/Modern.png
  219. //
  220. // http://odo.lv/LatvianKeyboard
  221. // http://odo.lv/LatvianKeyboard5
  222. //
  223. partial alphanumeric_keys modifier_keys
  224. xkb_symbols "modern" {
  225. name[Group1]= "Latvian (modern)";
  226. key <TLDE> {[ grave, asciitilde, acute, copyright ]};
  227. key <AE01> {[ 1, exclam, onesuperior, exclamdown ]};
  228. key <AE02> {[ 2, at, twosuperior, oneeighth ]};
  229. key <AE03> {[ 3, numbersign, threesuperior, sterling ]};
  230. key <AE04> {[ 4, dollar, EuroSign, cent ]};
  231. key <AE05> {[ 5, percent, onehalf, threeeighths ]};
  232. key <AE06> {[ 6, asciicircum, threequarters, fiveeighths ]};
  233. key <AE07> {[ 7, ampersand, braceleft, seveneighths ]};
  234. key <AE08> {[ 8, asterisk, bracketleft, trademark ]};
  235. key <AE09> {[ 9, parenleft, bracketright, plusminus ]};
  236. key <AE10> {[ 0, parenright, braceright, degree ]};
  237. key <AE11> {[ minus, underscore, backslash, questiondown ]};
  238. key <AE12> {[ equal, plus, endash, emdash ]};
  239. key <AD01> {[ emacron, Emacron, emacron, Emacron ]};
  240. key <AD02> {[ o, O, omacron, Omacron ]};
  241. key <AD03> {[ amacron, Amacron, amacron, Amacron ]};
  242. key <AD04> {[ p, P, question, P ]};
  243. key <AD05> {[ b, B, exclam, B ]};
  244. key <AD06> {[ j, J, emdash, J ]};
  245. key <AD07> {[ d, D, endash, D ]};
  246. key <AD08> {[ imacron, Imacron, imacron, Imacron ]};
  247. key <AD09> {[ l, L, lcedilla, Lcedilla ]};
  248. key <AD10> {[ g, G, gcedilla, Gcedilla ]};
  249. Key <AD11> {[ bracketleft, braceleft, guillemotleft, leftdoublequotemark ]};
  250. key <AD12> {[ bracketright, braceright, guillemotright, rightdoublequotemark ]};
  251. key <AC01> {[ e, E, e, E ]};
  252. key <AC02> {[ u, U, umacron, Umacron ]};
  253. key <AC03> {[ a, A, a, A ]};
  254. key <AC04> {[ n, N, ncedilla, Ncedilla ]};
  255. key <AC05> {[ k, K, kcedilla, Kcedilla ]};
  256. key <AC06> {[ ISO_Level3_Latch, quotedbl, apostrophe, quotedbl ]};
  257. key <AC07> {[ s, S, scaron, Scaron ]};
  258. key <AC08> {[ i, I, i, I ]};
  259. key <AC09> {[ t, T, t, T ]};
  260. key <AC10> {[ r, R, rcedilla, Rcedilla ]};
  261. key <AC11> {[ m, M, m, M ]};
  262. key <BKSL> {[ slash, question, backslash, bar ]};
  263. key <LSGT> {[ q, Q, q, Q ]};
  264. key <AB01> {[ x, X, q, Q ]};
  265. key <AB02> {[ z, Z, zcaron, Zcaron ]};
  266. key <AB03> {[ c, C, ccaron, Ccaron ]};
  267. key <AB04> {[ v, V, bar, V ]};
  268. key <AB05> {[ w, W, backslash, W ]};
  269. key <AB06> {[ f, F, period, F ]};
  270. key <AB07> {[ y, Y, U0233, U0232 ]};
  271. key <AB08> {[ h, H, U1E29, U1E28 ]};
  272. key <AB09> {[ comma, semicolon, less, multiply ]};
  273. key <AB10> {[ period, colon, greater, division ]};
  274. key <SPCE> {[ space, space, apostrophe ]};
  275. modifier_map Mod5 { <AC06> };
  276. include "level3(ralt_switch)"
  277. };
  278. // EXTRAS:
  279. //============================================================================
  280. // US Dvorak compatible Latvian layout
  281. // http://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard
  282. //
  283. partial alphanumeric_keys modifier_keys
  284. xkb_symbols "dvorak" {
  285. name[Group1]= "Latvian (Dvorak)";
  286. key <TLDE> {[ asciitilde, grave, acute, asciitilde ]};
  287. key <AE01> {[ 1, exclam, onesuperior, exclamdown ]};
  288. key <AE02> {[ 2, at, twosuperior, oneeighth ]};
  289. key <AE03> {[ 3, numbersign, threesuperior, sterling ]};
  290. key <AE04> {[ 4, dollar, EuroSign, cent ]};
  291. key <AE05> {[ 5, percent, onehalf, threeeighths ]};
  292. key <AE06> {[ 6, asciicircum, threequarters, fiveeighths ]};
  293. key <AE07> {[ 7, ampersand, braceleft, seveneighths ]};
  294. key <AE08> {[ 8, asterisk, bracketleft, trademark ]};
  295. key <AE09> {[ 9, parenleft, bracketright, plusminus ]};
  296. key <AE10> {[ 0, parenright, braceright, degree ]};
  297. key <AE11> {[ bracketleft, braceleft, leftdoublequotemark, guillemotleft ]};
  298. key <AE12> {[ bracketright, braceright, rightdoublequotemark, guillemotright ]};
  299. key <AD01> {[ apostrophe, quotedbl, leftdoublequotemark, doublelowquotemark ]};
  300. key <AD02> {[ comma, less, guillemotleft, multiply ]};
  301. key <AD03> {[ period, greater, guillemotright, division ]};
  302. key <AD04> {[ p, P, p, P ]};
  303. key <AD05> {[ y, Y, y, Y ]};
  304. key <AD06> {[ f, F, f, F ]};
  305. key <AD07> {[ g, G, gcedilla, Gcedilla ]};
  306. key <AD08> {[ c, C, ccaron, Ccaron ]};
  307. key <AD09> {[ r, R, rcedilla, Rcedilla ]};
  308. key <AD10> {[ l, L, lcedilla, Lcedilla ]};
  309. key <AD11> {[ slash, question, slash, abovedot ]};
  310. key <AD12> {[ equal, plus, endash, emdash ]};
  311. key <AC01> {[ a, A, amacron, Amacron ]};
  312. key <AC02> {[ o, O, omacron, Omacron ]};
  313. key <AC03> {[ e, E, emacron, Emacron ]};
  314. key <AC04> {[ u, U, umacron, Umacron ]};
  315. key <AC05> {[ i, I, imacron, Imacron ]};
  316. key <AC06> {[ d, D, d, D ]};
  317. key <AC07> {[ h, H, h, H ]};
  318. key <AC08> {[ t, T, t, T ]};
  319. key <AC09> {[ n, N, ncedilla, Ncedilla ]};
  320. key <AC10> {[ s, S, scaron, Scaron ]};
  321. key <AC11> {[ minus, underscore, backslash, questiondown ]};
  322. key <AB01> {[ semicolon, colon, semicolon, colon ]};
  323. key <AB02> {[ q, Q, q, Q ]};
  324. key <AB03> {[ j, J, j, J ]};
  325. key <AB04> {[ k, K, kcedilla, Kcedilla ]};
  326. key <AB05> {[ x, X, x, X ]};
  327. key <AB06> {[ b, B, b, B ]};
  328. key <AB07> {[ m, M, m, M ]};
  329. key <AB08> {[ w, W, w, W ]};
  330. key <AB09> {[ v, V, v, V ]};
  331. key <AB10> {[ z, Z, zcaron, Zcaron ]};
  332. key <BKSL> {[ backslash, bar, grave, breve ]};
  333. key <SPCE> {[ space, space, space, space ]};
  334. include "level3(ralt_switch)"
  335. };
  336. partial alphanumeric_keys modifier_keys
  337. xkb_symbols "ykeydvorak" {
  338. include "lv(dvorak)"
  339. name[Group1]= "Latvian (Dvorak, with Y)";
  340. key <AD05> {[ISO_Level3_Latch, ISO_Level3_Latch, y, Y]};
  341. key <SPCE> {[space, space, y, Y]};
  342. modifier_map Mod5 { <AD05> };
  343. };
  344. partial alphanumeric_keys modifier_keys
  345. xkb_symbols "minuskeydvorak" {
  346. include "lv(dvorak)"
  347. name[Group1]= "Latvian (Dvorak, with minus)";
  348. key <AC11> {[ISO_Level3_Latch, ISO_Level3_Latch, minus, underscore]};
  349. key <SPCE> {[space, space, minus, underscore]};
  350. modifier_map Mod5 { <AR11> };
  351. };
  352. //============================================================================
  353. // US Dvorak programmers layput compatible Latvian layout
  354. // http://www.kaufmann.no/roland/dvorak/
  355. //
  356. partial alphanumeric_keys modifier_keys
  357. xkb_symbols "dvorakprogr" {
  358. include "lv(dvorak)"
  359. name[Group1]= "Latvian (programmer Dvorak)";
  360. key <TLDE> {[ dollar, asciitilde, EuroSign, cent ]};
  361. key <AE01> {[ ampersand, percent, acute, asciitilde ]};
  362. key <AE02> {[ bracketleft, 7, onesuperior, twosuperior ]};
  363. key <AE03> {[ braceleft, 5, guillemotleft, leftdoublequotemark ]};
  364. key <AE04> {[ braceright, 3, guillemotright, rightdoublequotemark ]};
  365. key <AE05> {[ parenleft, 1, onehalf, threeeighths ]};
  366. key <AE06> {[ equal, 9, threequarters, fiveeighths ]};
  367. key <AE07> {[ asterisk, 0, degree, copyright ]};
  368. key <AE08> {[ parenright, 2, endash, emdash ]};
  369. key <AE09> {[ plus, 4, plusminus, section ]};
  370. key <AE10> {[ bracketright, 6, registered, trademark ]};
  371. key <AE11> {[ exclam, 8, exclam, exclamdown ]};
  372. key <AE12> {[ numbersign, grave, Greek_alpha, Greek_beta ]};
  373. key <AD01> {[ semicolon, colon, semicolon, colon ]};
  374. key <AD12> {[ at, asciicircum, at, asciicircum ]};
  375. key <AB01> {[ apostrophe, quotedbl, leftdoublequotemark, doublelowquotemark ]};
  376. include "level3(ralt_switch)"
  377. };
  378. partial alphanumeric_keys modifier_keys
  379. xkb_symbols "ykeydvorakprogr" {
  380. include "lv(dvorakprogr)"
  381. name[Group1]= "Latvian (programmer Dvorak, with Y)";
  382. key <AD05> {[ISO_Level3_Latch, ISO_Level3_Latch, y, Y]};
  383. key <SPCE> {[space, space, y, Y]};
  384. modifier_map Mod5 { <AD05> };
  385. };
  386. partial alphanumeric_keys modifier_keys
  387. xkb_symbols "minuskeydvorakprogr" {
  388. include "lv(dvorakprogr)"
  389. name[Group1]= "Latvian (programmer Dvorak, with minus)";
  390. key <AC11> {[ISO_Level3_Latch, ISO_Level3_Latch, minus, underscore]};
  391. key <SPCE> {[space, space, minus, underscore]};
  392. modifier_map Mod5 { <AC11> };
  393. };
  394. //============================================================================
  395. // Colemak compatible Latvian layout
  396. // http://colemak.com/
  397. //
  398. partial alphanumeric_keys modifier_keys
  399. xkb_symbols "colemak" {
  400. include "lv(basic)"
  401. name[Group1]= "Latvian (Colemak)";
  402. key <AD03> {[ f, F, f, F ]};
  403. key <AD04> {[ p, P, p, P ]};
  404. key <AD05> {[ g, G, gcedilla, Gcedilla ]};
  405. key <AD06> {[ j, J, j, J ]};
  406. key <AD07> {[ l, L, lcedilla, Lcedilla ]};
  407. key <AD08> {[ u, U, umacron, Umacron ]};
  408. key <AD09> {[ y, Y, y, Y ]};
  409. key <AD10> {[ semicolon, colon, semicolon, colon ]};
  410. key <AC02> {[ r, R, rcedilla, Rcedilla ]};
  411. key <AC03> {[ s, S, scaron, Scaron ]};
  412. key <AC04> {[ t, T, t, T ]};
  413. key <AC05> {[ d, D, d, D ]};
  414. key <AC07> {[ n, N, ncedilla, Ncedilla ]};
  415. key <AC08> {[ e, E, emacron, Emacron ]};
  416. key <AC09> {[ i, I, imacron, Imacron ]};
  417. key <AC10> {[ o, O, omacron, Omacron ]};
  418. key <AB06> {[ k, K, kcedilla, Kcedilla ]};
  419. include "level3(ralt_switch)"
  420. };
  421. partial alphanumeric_keys modifier_keys
  422. xkb_symbols "apostrophecolemak" {
  423. include "lv(colemak)"
  424. name[Group1]= "Latvian (Colemak, with apostrophe)";
  425. key <AC11> {[ISO_Level3_Latch, quotedbl, apostrophe, quotedbl]};
  426. key <SPCE> {[space, space, apostrophe]};
  427. modifier_map Mod5 { <AC11> };
  428. };
  429. partial alphanumeric_keys
  430. xkb_symbols "sun_type6" {
  431. include "sun_vndr/lv(sun_type6)"
  432. };