latvian.js 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* Latvian keyboard layouts
  2. * contains layout: 'latvian-qwerty'
  3. *
  4. * To use:
  5. * Point to this js file into your page header: <script src="layouts/latvian.js" type="text/javascript"></script>
  6. * Initialize the keyboard using: $('input').keyboard({ layout: 'latvian-qwerty' });
  7. *
  8. * license for this file: WTFPL, unless the source layout site has a problem with me using them as a reference
  9. */
  10. jQuery.keyboard.layouts['latvian-qwerty'] = {
  11. 'name' : 'latvian-qwerty',
  12. 'lang' : ['lv'],
  13. 'normal' : [
  14. "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
  15. "{tab} q w e r t y u i o p [ ] \u00B0",
  16. "a s d f g h j k l ; ' {enter}",
  17. "{shift} z x c v b n m , . / {shift}",
  18. "{accept} {alt} {space} {alt} {cancel}"
  19. ],
  20. 'shift' : [
  21. '~ ! @ # $ % ^ & * ( ) _ + {bksp}',
  22. "{tab} Q W E R T Y U I O P { } |",
  23. 'A S D F G H J K L : " {enter}',
  24. "{shift} Z X C V B N M < > ? {shift}",
  25. "{accept} {alt} {space} {alt} {cancel}"
  26. ],
  27. 'alt' : [
  28. "\u00ac 1 \u00AB \u00BB \u20AC 5 \u2019 7 8 9 0 \u2013 = {bksp}",
  29. "{tab} q w \u0113 \u0157 t y \u016B \u012B \u014D p [ ] \u00B0",
  30. "\u0101 \u0161 d f \u0123 h j \u0137 \u013C ; \u00B4 {enter}",
  31. "{shift} \u017E x \u010D v b \u0146 m , . / {shift}",
  32. "{accept} {alt} {space} {alt} {cancel}"
  33. ],
  34. 'alt-shift' : [
  35. '~ 1 2 3 4 \u00A7 \u00AB 7 \u00B1 \u00D7 0 \u2014 = {bksp}',
  36. "{tab} Q W \u0112 \u0156 T Y \u016A \u012A \u014C P { } |",
  37. '\u0100 \u0160 D F \u0122 H J \u0136 \u013B : \u00A8 {enter}',
  38. "{shift} \u017D X \u010C V B \u0145 M < > ? {shift}",
  39. "{accept} {alt} {space} {alt} {cancel}"
  40. ]
  41. };