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

pc (25780B)


  1. //
  2. //Copyright 1996, 1998 The Open Group
  3. //
  4. //Permission to use, copy, modify, distribute, and sell this software and its
  5. //documentation for any purpose is hereby granted without fee, provided that
  6. //the above copyright notice appear in all copies and that both that
  7. //copyright notice and this permission notice appear in supporting
  8. //documentation.
  9. //
  10. //The above copyright notice and this permission notice shall be
  11. //included in all copies or substantial portions of the Software.
  12. //
  13. //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  14. //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  15. //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  16. //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
  17. //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  18. //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  19. //OTHER DEALINGS IN THE SOFTWARE.
  20. //
  21. //Except as contained in this notice, the name of The Open Group shall
  22. //not be used in advertising or otherwise to promote the sale, use or
  23. //other dealings in this Software without prior written authorization
  24. //from The Open Group.
  25. //
  26. default xkb_geometry "pc101" {
  27. description= "Generic 101-key PC";
  28. width= 470;
  29. height= 180;
  30. shape.cornerRadius= 1;
  31. shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
  32. shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
  33. shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
  34. shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
  35. shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
  36. shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
  37. shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
  38. shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
  39. shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
  40. shape "SPCE" { { [133,18] }, { [2,1], [131,16] } };
  41. shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
  42. shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
  43. shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
  44. shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
  45. solid "LedPanel" {
  46. shape= "LEDS";
  47. top= 22;
  48. left= 377;
  49. color= "grey10";
  50. };
  51. indicator.onColor= "green";
  52. indicator.offColor= "green30";
  53. indicator.top= 37;
  54. indicator.shape= "LED";
  55. indicator "Num Lock" { left= 382; };
  56. indicator "Caps Lock" { left= 407; };
  57. indicator "Scroll Lock" { left= 433; };
  58. text.top= 25;
  59. text.color= "black";
  60. text "NumLockLabel" { left= 378; text="Num\nLock"; };
  61. text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
  62. text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
  63. section.left= 19;
  64. row.left= 1;
  65. key.shape= "NORM";
  66. key.gap= 1;
  67. section "Function" {
  68. top= 22;
  69. row {
  70. top= 1;
  71. keys { { <ESC>, color="grey20" },
  72. { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
  73. { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
  74. { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
  75. { <PRSC>, 8 }, <SCLK>, <PAUS>
  76. };
  77. };
  78. }; // End of "Function" section
  79. section "Alpha" {
  80. top= 61;
  81. row {
  82. top= 1;
  83. keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
  84. <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  85. <AE10>, <AE11>, <AE12>,
  86. { <BKSP>, "BKSP", color="grey20" }
  87. };
  88. };
  89. row {
  90. top= 20;
  91. keys { { <TAB>, "TABK", color="grey20" },
  92. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
  93. <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
  94. <AD11>, <AD12>, { <BKSL>, "BKSL" }
  95. };
  96. };
  97. row {
  98. top= 39;
  99. keys { { <CAPS>, "CAPS", color="grey20" },
  100. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
  101. <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
  102. <AC11>, { <RTRN>, "RTRN", color="grey20" }
  103. };
  104. };
  105. row {
  106. top= 58;
  107. keys { { <LFSH>, "LFSH", color="grey20" },
  108. <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  109. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  110. { <RTSH>, "RTSH", color="grey20" }
  111. };
  112. };
  113. row {
  114. top= 77;
  115. key.shape= "MODK";
  116. key.color= "grey20";
  117. keys { <LCTL>, { <LALT>, 21 },
  118. { <SPCE>, "SPCE", color="white" },
  119. <RALT>, { <RCTL>, 21 }
  120. };
  121. };
  122. }; // End of "Alpha" section
  123. section "Editing" {
  124. top= 61;
  125. left= 312;
  126. key.color= "grey20";
  127. row {
  128. top= 1;
  129. keys { <INS>, <HOME>, <PGUP> };
  130. };
  131. row {
  132. top= 20;
  133. keys { <DELE>, <END>, <PGDN> };
  134. };
  135. row {
  136. top= 58;
  137. left= 20;
  138. keys { <UP> };
  139. };
  140. row {
  141. top= 77;
  142. keys { <LEFT>, <DOWN>, <RGHT> };
  143. };
  144. }; // End of "Editing" section
  145. section "Keypad" {
  146. top= 61;
  147. left= 376;
  148. row {
  149. top= 1;
  150. key.color= "grey20";
  151. keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  152. };
  153. row {
  154. top= 20;
  155. keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
  156. };
  157. row {
  158. top= 39;
  159. keys { <KP4>, <KP5>, <KP6> };
  160. };
  161. row {
  162. top= 58;
  163. keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
  164. };
  165. row {
  166. top= 77;
  167. keys { { <KP0>, "KP0" }, <KPDL> };
  168. };
  169. }; // End of "Keypad" section
  170. alias <AC00> = <CAPS>;
  171. alias <AA00> = <LCTL>;
  172. }; // End of "default" geometry
  173. xkb_geometry "pc102" {
  174. description= "Generic 102-key PC";
  175. width= 470;
  176. height= 180;
  177. shape.cornerRadius= 1;
  178. shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
  179. shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
  180. shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
  181. shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
  182. shape "RTRN" {
  183. { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] },
  184. { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } };
  185. shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
  186. shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } };
  187. shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } };
  188. shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
  189. shape "SPCE" { { [134,18] }, { [2,1], [132,16] } };
  190. shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
  191. shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
  192. shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
  193. shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
  194. solid "LedPanel" {
  195. shape= "LEDS";
  196. top= 22;
  197. left= 377;
  198. color= "grey10";
  199. };
  200. indicator.onColor= "green";
  201. indicator.offColor= "green30";
  202. indicator.top= 37;
  203. indicator.shape= "LED";
  204. indicator "Num Lock" { left= 382; };
  205. indicator "Caps Lock" { left= 407; };
  206. indicator "Scroll Lock" { left= 433; };
  207. text.top= 25;
  208. text.color= "black";
  209. text "NumLockLabel" { left= 378; text="Num\nLock"; };
  210. text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
  211. text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
  212. section.left= 19;
  213. row.left= 1;
  214. key.shape= "NORM";
  215. key.gap= 1;
  216. section "Function" {
  217. top= 22;
  218. row {
  219. top= 1;
  220. keys { { <ESC>, "TABK", color="grey20" },
  221. { <FK01>, 10 }, <FK02>, <FK03>, <FK04>,
  222. { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
  223. { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
  224. { <PRSC>, 8 }, <SCLK>, <PAUS>
  225. };
  226. };
  227. }; // End of "Function" section
  228. section "Alpha" {
  229. top= 61;
  230. row {
  231. top= 1;
  232. keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
  233. <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  234. <AE10>, <AE11>, <AE12>,
  235. { <BKSP>, "BKSP", color="grey20" }
  236. };
  237. };
  238. row {
  239. top= 20;
  240. keys { { <TAB>, "TABK", color="grey20" },
  241. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
  242. <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
  243. <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
  244. };
  245. };
  246. row {
  247. top= 39;
  248. keys { { <CAPS>, "CAPS", color="grey20" },
  249. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
  250. <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
  251. <AC11>, <BKSL>
  252. };
  253. };
  254. row {
  255. top= 58;
  256. keys { { <LFSH>, "LFSH", color="grey20" },
  257. <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  258. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  259. { <RTSH>, "RTSH", color="grey20" }
  260. };
  261. };
  262. row {
  263. top= 77;
  264. key.shape= "MODK";
  265. key.color= "grey20";
  266. keys { <LCTL>, { <LALT>, 20 },
  267. { <SPCE>, "SPCE", color="white" },
  268. <RALT>, { <RCTL>, 21 }
  269. };
  270. };
  271. }; // End of "Alpha" section
  272. section "Editing" {
  273. top= 61;
  274. left= 312;
  275. key.color= "grey20";
  276. row {
  277. top= 1;
  278. keys { <INS>, <HOME>, <PGUP> };
  279. };
  280. row {
  281. top= 20;
  282. keys { <DELE>, <END>, <PGDN> };
  283. };
  284. row {
  285. top= 58;
  286. left= 20;
  287. keys { <UP> };
  288. };
  289. row {
  290. top= 77;
  291. keys { <LEFT>, <DOWN>, <RGHT> };
  292. };
  293. }; // End of "Editing" section
  294. section "Keypad" {
  295. top= 61;
  296. left= 376;
  297. row {
  298. top= 1;
  299. key.color= "grey20";
  300. keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  301. };
  302. row {
  303. top= 20;
  304. keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
  305. };
  306. row {
  307. top= 39;
  308. keys { <KP4>, <KP5>, <KP6> };
  309. };
  310. row {
  311. top= 58;
  312. keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
  313. };
  314. row {
  315. top= 77;
  316. keys { { <KP0>, "KP0" }, <KPDL> };
  317. };
  318. }; // End of "Keypad" section
  319. alias <AC00> = <CAPS>;
  320. alias <AA00> = <LCTL>;
  321. }; // End of "pc102" geometry
  322. xkb_geometry "pc104" {
  323. description= "Generic 104-key PC";
  324. width= 470;
  325. height= 180;
  326. shape.cornerRadius= 1;
  327. shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
  328. shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
  329. shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
  330. shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
  331. shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } };
  332. shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
  333. shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
  334. shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
  335. shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
  336. shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
  337. shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
  338. shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
  339. shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
  340. shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
  341. shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
  342. solid "LedPanel" {
  343. shape= "LEDS";
  344. top= 22;
  345. left= 377;
  346. color= "grey10";
  347. };
  348. indicator.onColor= "green";
  349. indicator.offColor= "green30";
  350. indicator.top= 37;
  351. indicator.shape= "LED";
  352. indicator "Num Lock" { left= 382; };
  353. indicator "Caps Lock" { left= 407; };
  354. indicator "Scroll Lock" { left= 433; };
  355. text.top= 25;
  356. text.color= "black";
  357. text "NumLockLabel" { left= 378; text="Num\nLock"; };
  358. text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
  359. text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
  360. section.left= 19;
  361. row.left= 1;
  362. key.shape= "NORM";
  363. key.gap= 1;
  364. section "Function" {
  365. top= 22;
  366. row {
  367. top= 1;
  368. keys { { <ESC>, color="grey20" },
  369. { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
  370. { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
  371. { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
  372. { <PRSC>, 8 }, <SCLK>, <PAUS>
  373. };
  374. };
  375. }; // End of "Function" section
  376. section "Alpha" {
  377. top= 61;
  378. row {
  379. top= 1;
  380. keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
  381. <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  382. <AE10>, <AE11>, <AE12>,
  383. { <BKSP>, "BKSP", color="grey20" }
  384. };
  385. };
  386. row {
  387. top= 20;
  388. keys { { <TAB>, "TABK", color="grey20" },
  389. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
  390. <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
  391. <AD11>, <AD12>, { <BKSL>, "BKSL" }
  392. };
  393. };
  394. row {
  395. top= 39;
  396. keys { { <CAPS>, "CAPS", color="grey20" },
  397. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
  398. <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
  399. <AC11>, { <RTRN>, "RTRN", color="grey20" }
  400. };
  401. };
  402. row {
  403. top= 58;
  404. keys { { <LFSH>, "LFSH", color="grey20" },
  405. <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  406. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  407. { <RTSH>, "RTSH", color="grey20" }
  408. };
  409. };
  410. row {
  411. top= 77;
  412. key.shape= "SMOD";
  413. key.color= "grey20";
  414. keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
  415. { <SPCE>, "SPCE", color="white" },
  416. <RALT>, <RWIN>, <MENU>, <RCTL>
  417. };
  418. };
  419. }; // End of "Alpha" section
  420. section "Editing" {
  421. top= 61;
  422. left= 312;
  423. key.color= "grey20";
  424. row {
  425. top= 1;
  426. keys { <INS>, <HOME>, <PGUP> };
  427. };
  428. row {
  429. top= 20;
  430. keys { <DELE>, <END>, <PGDN> };
  431. };
  432. row {
  433. top= 58;
  434. left= 20;
  435. keys { <UP> };
  436. };
  437. row {
  438. top= 77;
  439. keys { <LEFT>, <DOWN>, <RGHT> };
  440. };
  441. }; // End of "Editing" section
  442. section "Keypad" {
  443. top= 61;
  444. left= 376;
  445. row {
  446. top= 1;
  447. key.color= "grey20";
  448. keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  449. };
  450. row {
  451. top= 20;
  452. keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
  453. };
  454. row {
  455. top= 39;
  456. keys { <KP4>, <KP5>, <KP6> };
  457. };
  458. row {
  459. top= 58;
  460. keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
  461. };
  462. row {
  463. top= 77;
  464. keys { { <KP0>, "KP0" }, <KPDL> };
  465. };
  466. }; // End of "Keypad" section
  467. alias <AC00> = <CAPS>;
  468. alias <AA00> = <LCTL>;
  469. }; // End of "pc104" geometry
  470. xkb_geometry "pc105" {
  471. description= "Generic 105-key PC";
  472. width= 470;
  473. height= 180;
  474. shape.cornerRadius= 1;
  475. shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
  476. shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } };
  477. shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
  478. shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } };
  479. shape "RTRN" {
  480. { [0,0], [28,0], [28,37], [5,37], [5,18], [0,18] } ,
  481. { [2,1], [26,1], [26,35], [7,35], [7,16], [2,16] } ,
  482. approx = { [5,0], [28,37] } };
  483. shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
  484. shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } };
  485. shape "RTSH" { { [ 50,18] }, { [2,1], [ 48,16] } };
  486. shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
  487. shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
  488. shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
  489. shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
  490. shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
  491. shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
  492. shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
  493. solid "LedPanel" {
  494. shape= "LEDS";
  495. top= 22;
  496. left= 377;
  497. color= "grey10";
  498. };
  499. indicator.onColor= "green";
  500. indicator.offColor= "green30";
  501. indicator.top= 37;
  502. indicator.shape= "LED";
  503. indicator "Num Lock" { left= 382; };
  504. indicator "Caps Lock" { left= 407; };
  505. indicator "Scroll Lock" { left= 433; };
  506. text.top= 25;
  507. text.color= "black";
  508. text "NumLockLabel" { left= 378; text="Num\nLock"; };
  509. text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
  510. text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
  511. section.left= 19;
  512. row.left= 1;
  513. key.shape= "NORM";
  514. key.gap= 1;
  515. section "Function" {
  516. top= 22;
  517. row {
  518. top= 1;
  519. keys { { <ESC>, color="grey20" },
  520. { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
  521. { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
  522. { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
  523. { <PRSC>, 8 }, <SCLK>, <PAUS>
  524. };
  525. };
  526. }; // End of "Function" section
  527. section "Alpha" {
  528. top= 61;
  529. row {
  530. top= 1;
  531. keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
  532. <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  533. <AE10>, <AE11>, <AE12>,
  534. { <BKSP>, "BKSP", color="grey20" }
  535. };
  536. };
  537. row {
  538. top= 20;
  539. keys { { <TAB>, "TABK", color="grey20" },
  540. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
  541. <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
  542. <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
  543. };
  544. };
  545. row {
  546. top= 39;
  547. keys { { <CAPS>, "CAPS", color="grey20" },
  548. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
  549. <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
  550. <AC11>, <BKSL>
  551. };
  552. };
  553. row {
  554. top= 58;
  555. keys { { <LFSH>, "LFSH", color="grey20" },
  556. <LSGT>, <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  557. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  558. { <RTSH>, "RTSH", color="grey20" }
  559. };
  560. };
  561. row {
  562. top= 77;
  563. key.shape= "SMOD";
  564. key.color= "grey20";
  565. keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
  566. { <SPCE>, "SPCE", color="white" },
  567. <RALT>, <RWIN>, <MENU>, <RCTL>
  568. };
  569. };
  570. }; // End of "Alpha" section
  571. section "Editing" {
  572. top= 61;
  573. left= 312;
  574. key.color= "grey20";
  575. row {
  576. top= 1;
  577. keys { <INS>, <HOME>, <PGUP> };
  578. };
  579. row {
  580. top= 20;
  581. keys { <DELE>, <END>, <PGDN> };
  582. };
  583. row {
  584. top= 58;
  585. left= 20;
  586. keys { <UP> };
  587. };
  588. row {
  589. top= 77;
  590. keys { <LEFT>, <DOWN>, <RGHT> };
  591. };
  592. }; // End of "Editing" section
  593. section "Keypad" {
  594. top= 61;
  595. left= 376;
  596. row {
  597. top= 1;
  598. key.color= "grey20";
  599. keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  600. };
  601. row {
  602. top= 20;
  603. keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
  604. };
  605. row {
  606. top= 39;
  607. keys { <KP4>, <KP5>, <KP6> };
  608. };
  609. row {
  610. top= 58;
  611. keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
  612. };
  613. row {
  614. top= 77;
  615. keys { { <KP0>, "KP0" }, <KPDL> };
  616. };
  617. }; // End of "Keypad" section
  618. alias <AC00> = <CAPS>;
  619. alias <AA00> = <LCTL>;
  620. }; // End of "pc105" geometry
  621. // Created by Alexander Pohoyda <alexander.pohoyda@gmx.net>
  622. xkb_geometry "pc86" {
  623. description = "Generic 86-key PC";
  624. width = 287;
  625. height = 143;
  626. baseColor = "grey20";
  627. shape "EDGE" { cornerRadius = 2, { [287, 143] } };
  628. shape "LED" { cornerRadius = 2, { [3, 3] } };
  629. shape "LEDS" { cornerRadius = 0, { [75, 5] } };
  630. shape "KEYS" { cornerRadius = 0, { [271, 109] } };
  631. outline "Edges" {
  632. top = 0;
  633. left = 0;
  634. shape = "EDGE";
  635. color = "black";
  636. };
  637. solid "KeyPanel" {
  638. shape = "KEYS";
  639. left = 8;
  640. top = 22;
  641. color = "grey70";
  642. };
  643. solid "LedPanel" {
  644. shape = "LEDS";
  645. left = 212;
  646. top = 10;
  647. color = "black";
  648. };
  649. indicator.onColor = "green";
  650. indicator.offColor = "green30";
  651. indicator.top = 11;
  652. indicator.shape = "LED";
  653. indicator "Num Lock" { left = 212 + 7; };
  654. indicator "Caps Lock" { left = 212 + 23; };
  655. indicator "Scroll Lock" { left = 212 + 39; };
  656. text.fontSize = 6;
  657. text.top = 10;
  658. text.color = "white";
  659. text "NumLockLabel" { left = 212 + 7 + 5; text = "Num\nLock"; };
  660. text "CapsLockLabel" { left = 212 + 23 + 5; text = "Caps\nLock"; };
  661. text "ScrollLockLabel" { left = 212 + 39 + 5; text = "Scroll\nLock"; };
  662. shape.cornerRadius = 1;
  663. shape "SMALL" { { [15, 12] }, { [1.5, 0], [13.5, 10] } };
  664. shape "NARR" { { [13, 18] }, { [1.5, 0], [11.5, 14] } };
  665. shape "NORM" { { [18, 18] }, { [3, 0], [15, 14] } };
  666. shape "NORM_1" { { [22, 18] }, { [4, 0], [22, 18] },
  667. { [7, 0], [19, 14] } };
  668. shape "WIDER" { { [23, 18] }, { [3, 0], [20, 14] } };
  669. shape "WIDEST" { { [27, 18] }, { [3, 0], [24, 14] } };
  670. shape "SPCE" { { [75, 18] }, { [3, 0], [72, 14] } };
  671. section "Function" {
  672. key.shape = "SMALL";
  673. key.gap = 0.99;
  674. key.color = "grey30";
  675. left = 8;
  676. top = 22;
  677. row {
  678. top = 1;
  679. keys { <ESC>,
  680. <FK01>, <FK02>, <FK03>, <FK04>,
  681. <FK05>, <FK06>, <FK07>, <FK08>,
  682. <FK09>, <FK10>, <FK11>, <FK12>,
  683. <NMLK>, <PRSC>, <SCLK>, <PAUS>
  684. };
  685. };
  686. }; // End of "Function" section
  687. section "Control" {
  688. key.shape = "NORM";
  689. key.gap = 1;
  690. key.color = "grey30";
  691. left = 8;
  692. top = 111;
  693. row {
  694. top = 1;
  695. keys { <LCTL>, <FN>, <LALT>,
  696. { <SPCE>, shape="SPCE", 39 }, <RALT>,
  697. <INS>, <DELE>
  698. };
  699. };
  700. }; // End of "Control" section
  701. section "Editing" {
  702. key.shape = "NARR";
  703. key.gap = 1;
  704. key.color = "grey30";
  705. left = 265;
  706. top = 34;
  707. row.vertical = True;
  708. row {
  709. top = 1;
  710. keys { <HOME>, <PGUP>, <PGDN>, <END> };
  711. };
  712. }; // End of "Editing" section
  713. section "Navigation" {
  714. key.gap = 1;
  715. key.shape = "NARR";
  716. key.color = "grey30";
  717. left = 236;
  718. top = 92;
  719. row {
  720. left = 14;
  721. top = 1;
  722. keys { <UP> };
  723. };
  724. row {
  725. top = 20;
  726. keys { <LEFT>, <DOWN>, <RGHT> };
  727. };
  728. }; // End of "Navigation" section
  729. section "Alpha" {
  730. key.gap = 1;
  731. key.shape = "NORM";
  732. key.color = "grey10";
  733. left = 8;
  734. top = 35;
  735. row {
  736. top = 1;
  737. keys { { <AE01>, shape="NORM_1" }, <AE02>, <AE03>, <AE04>,
  738. <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  739. <AE10>, <AE11>, <AE12>,
  740. { <BKSP>, shape="WIDER", color="grey30" }
  741. };
  742. };
  743. row {
  744. top = 20;
  745. keys { { <TAB>, shape="NARR", color="grey30" },
  746. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
  747. <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
  748. <AD11>, <AD12>, { <AD13>, shape="NARR" }
  749. };
  750. };
  751. row {
  752. top = 39;
  753. keys { { <CAPS>, color="grey30" },
  754. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
  755. <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
  756. <AC11>, { <RTRN>, shape="WIDEST", color="grey30" }
  757. };
  758. };
  759. row {
  760. top = 58;
  761. keys { { <LFSH>, shape="WIDEST", color="grey30" },
  762. <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  763. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  764. { <RTSH>, shape="WIDER", color="grey30" }
  765. };
  766. };
  767. row {
  768. left = 57;
  769. top = 77;
  770. keys { <AE00>, <LSGT> };
  771. };
  772. }; // End of "Alpha" section
  773. alias <AC00> = <CAPS>;
  774. alias <AA00> = <LCTL>;
  775. }; // End of "pc86" geometry
  776. xkb_geometry "pc104alt" {
  777. description= "Generic 104-key PC with L-shaped Enter key";
  778. width= 470;
  779. height= 210;
  780. shape.cornerRadius= 1;
  781. shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } };
  782. shape "BKSP" { { [ 19,18] }, { [2,1], [ 17,16] } };
  783. shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } };
  784. // shape "RTRN" { { [ 0,19 ], [ 0,37 ], [ 42,37 ], [ 42,0 ], [ 14,0 ], [ 14,19 ] },
  785. // { [ 2,20 ], [ 2,35 ], [ 40,35 ], [ 40,1 ], [ 16,1 ], [ 16,20 ] },
  786. // approx = { [ 17,21 ], [ 39,34 ] }
  787. // };
  788. shape "RTRN" { { [ -14,19 ], [ -14,37 ], [ 28,37 ], [ 28,0 ], [ 0,0 ], [ 0,19 ] },
  789. { [ -12,20 ], [ -12,35 ], [ 26,35 ], [ 26,1 ], [ 2,1 ], [ 2,20 ] },
  790. approx = { [ 3,21 ], [ 25,34 ] }
  791. };
  792. shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } };
  793. shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } };
  794. shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } };
  795. shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } };
  796. shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } };
  797. shape "SPCE" { { [113,18] }, { [2,1], [111,16] } };
  798. shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } };
  799. shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } };
  800. shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } };
  801. shape "LED" { cornerRadius= 0, { [ 5, 1 ] } };
  802. solid "LedPanel" {
  803. shape= "LEDS";
  804. top= 52;
  805. left= 377;
  806. color= "grey10";
  807. };
  808. indicator.onColor= "green";
  809. indicator.offColor= "green30";
  810. indicator.top= 67;
  811. indicator.shape= "LED";
  812. indicator "Num Lock" { left= 382; };
  813. indicator "Caps Lock" { left= 407; };
  814. indicator "Scroll Lock" { left= 433; };
  815. text.top= 55;
  816. text.color= "black";
  817. text "NumLockLabel" { left= 378; text="Num\nLock"; };
  818. text "CapsLockLabel" { left= 403; text="Caps\nLock"; };
  819. text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; };
  820. section.left= 19;
  821. row.left= 1;
  822. key.shape= "NORM";
  823. key.gap= 1;
  824. section "Function" {
  825. top= 52;
  826. row {
  827. top= 1;
  828. keys { { <ESC>, color="grey20" },
  829. { <FK01>, 20 }, <FK02>, <FK03>, <FK04>,
  830. { <FK05>, 11 }, <FK06>, <FK07>, <FK08>,
  831. { <FK09>, 11 }, <FK10>, <FK11>, <FK12>,
  832. { <PRSC>, 8 }, <SCLK>, <PAUS>
  833. };
  834. };
  835. }; // End of "Function" section
  836. section "Alpha" {
  837. top= 91;
  838. row {
  839. top= 1;
  840. keys { <TLDE>, <AE01>, <AE02>, <AE03>, <AE04>,
  841. <AE05>, <AE06>, <AE07>, <AE08>, <AE09>,
  842. <AE10>, <AE11>, <AE12>, <BKSL>,
  843. { <BKSP>, "BKSP", color="grey20" }
  844. };
  845. };
  846. row {
  847. top= 20;
  848. keys { { <TAB>, "TABK", color="grey20" },
  849. <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
  850. <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
  851. // <AD11>, <AD12>, { <RTRN>, -13, "RTRN", color="grey20" }
  852. <AD11>, <AD12>, { <RTRN>, "RTRN", color="grey20" }
  853. };
  854. };
  855. row {
  856. top= 39;
  857. keys { { <CAPS>, "CAPS", color="grey20" },
  858. <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
  859. <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
  860. <AC11>
  861. };
  862. };
  863. row {
  864. top= 58;
  865. keys { { <LFSH>, "LFSH", color="grey20" },
  866. <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
  867. <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
  868. { <RTSH>, "RTSH", color="grey20" }
  869. };
  870. };
  871. row {
  872. top= 77;
  873. key.shape= "SMOD";
  874. key.color= "grey20";
  875. keys { { <LCTL>, "MODK" }, <LWIN>, <LALT>,
  876. { <SPCE>, "SPCE", color="white" },
  877. <RALT>, <RWIN>, <MENU>, <RCTL>
  878. };
  879. };
  880. }; // End of "Alpha" section
  881. section "Editing" {
  882. top= 91;
  883. left= 312;
  884. key.color= "grey20";
  885. row {
  886. top= 1;
  887. keys { <INS>, <HOME>, <PGUP> };
  888. };
  889. row {
  890. top= 20;
  891. keys { <DELE>, <END>, <PGDN> };
  892. };
  893. row {
  894. top= 58;
  895. left= 20;
  896. keys { <UP> };
  897. };
  898. row {
  899. top= 77;
  900. keys { <LEFT>, <DOWN>, <RGHT> };
  901. };
  902. }; // End of "Editing" section
  903. section "Keypad" {
  904. top= 91;
  905. left= 376;
  906. row {
  907. top= 1;
  908. key.color= "grey20";
  909. keys { <NMLK>, <KPDV>, <KPMU>, <KPSU> };
  910. };
  911. row {
  912. top= 20;
  913. keys { <KP7>, <KP8>, <KP9>, { <KPAD>, "KPAD", color="grey20" } };
  914. };
  915. row {
  916. top= 39;
  917. keys { <KP4>, <KP5>, <KP6> };
  918. };
  919. row {
  920. top= 58;
  921. keys { <KP1>, <KP2>, <KP3>, { <KPEN>, "KPAD", color="grey20" } };
  922. };
  923. row {
  924. top= 77;
  925. keys { { <KP0>, "KP0" }, <KPDL> };
  926. };
  927. }; // End of "Keypad" section
  928. alias <AC00> = <CAPS>;
  929. alias <AA00> = <LCTL>;
  930. }; // End of "pc104alt" geometry