belarusian.js 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* Belarusian keyboard layouts
  2. * contains layout: 'belarusian-qwerty'
  3. *
  4. * To use:
  5. * Point to this js file into your page header: <script src="layouts/belarusian.js" type="text/javascript"></script>
  6. * Initialize the keyboard using: $('input').keyboard({ layout: 'belarusian-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. /* based on http://ascii-table.com/keyboard.php/463 & http://www.google.com/webelements/ */
  11. jQuery.keyboard.layouts['belarusian-qwerty'] = {
  12. 'name' : 'belarusian-qwerty',
  13. 'lang' : ['be'],
  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 [ ] \\",
  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. "\u0451 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
  30. "{tab} \u0439 \u0446 \u0443 \u043a \u0435 \u043d \u0433 \u0448 \u045e \u0437 \u0445 ' \\",
  31. "\u0444 \u044b \u0432 \u0430 \u043f \u0440 \u043e \u043b \u0434 \u0436 \u044d {enter}",
  32. "{shift} \u044f \u0447 \u0441 \u043c \u0456 \u0442 \u044c \u0431 \u044e . {shift}",
  33. "{accept} {alt} {space} {alt} {cancel}"
  34. ],
  35. 'alt-shift' : [
  36. '\u0401 ! " \u2116 ; \u20ac : ? * ( ) _ + {bksp}',
  37. "{tab} \u0419 \u0426 \u0423 \u041a \u0415 \u041d \u0413 \u0428 \u040e \u0417 \u0425 ' /",
  38. "\u0424 \u042b \u0412 \u0410 \u041f \u0420 \u041e \u041b \u0414 \u0416 \u042d {enter}",
  39. "{shift} \u042f \u0427 \u0421 \u041c \u0406 \u0422 \u042c \u0411 \u042e , {shift}",
  40. "{accept} {alt} {space} {alt} {cancel}"
  41. ]
  42. };