polish.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* Polish keyboard layouts
  2. * contains layout: 'polish-qwerty'
  3. * Author: Piotr Roznicki
  4. *
  5. * To use:
  6. * Point to this js file into your page header: <script src="layouts/polish.js" type="text/javascript"></script>
  7. * Initialize the keyboard using: $('input').keyboard({ layout: 'polish-qwerty' });
  8. *
  9. * license for this file: WTFPL, unless the source layout site has a problem with me using them as a reference
  10. */
  11. jQuery.keyboard.layouts['polish-qwerty'] = {
  12. 'name' : 'polish-qwerty',
  13. 'lang' : ['pl'],
  14. 'normal' : [
  15. "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
  16. "{tab} q w e r t y u i o p [ ] \u00B0",
  17. "a s d f g h j k l ; ' {enter}",
  18. "{shift} z x c v b n m , . / {shift}",
  19. "{accept} {alt} {space} {alt} {cancel}"
  20. ],
  21. 'shift' : [
  22. '~ ! @ # $ % ^ & * ( ) _ + {bksp}',
  23. "{tab} Q W E R T Y U I O P { } |",
  24. 'A S D F G H J K L : " {enter}',
  25. "{shift} Z X C V B N M < > ? {shift}",
  26. "{accept} {alt} {space} {alt} {cancel}"
  27. ],
  28. 'alt' : [
  29. "` 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
  30. "{tab} q w \u0119 r t y \u20ac i \u00f3 p [ ] \u00B0",
  31. '\u0105 \u015b d f g h j k \u0142 : " {enter}',
  32. "{shift} \u017c \u017a \u0107 v b \u0144 m , . / {shift}",
  33. "{accept} {alt} {space} {alt} {cancel}"
  34. ]
  35. };