hebrew.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /* Hebrew keyboard layouts
  2. * contains layout: 'hebrew-qwerty'
  3. *
  4. * To use:
  5. * Point to this js file into your page header: <script src="layouts/hebrew.js" type="text/javascript"></script>
  6. * Initialize the keyboard using: $('input').keyboard({ layout: 'hebrew-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/212 */
  11. jQuery.keyboard.layouts['hebrew-qwerty'] = {
  12. 'name' : 'hebrew-qwerty',
  13. 'lang' : ['he'],
  14. 'normal' : [
  15. '; 1 2 3 4 5 6 7 8 9 0 - = {bksp}',
  16. "{tab} / ' \u05e7 \u05e8 \u05d0 \u05d8 \u05d5 \u05df \u05dd \u05e4 [ ] \\",
  17. "\u05e9 \u05d3 \u05d2 \u05db \u05e2 \u05d9 \u05d7 \u05dc \u05da \u05e3 , {enter}",
  18. "{shift} \u05d6 \u05e1 \u05d1 \u05d4 \u05e0 \u05de \u05e6 \u05ea \u05e5 . {shift}",
  19. "{accept} {alt} {space} {alt} {cancel}"
  20. ],
  21. 'alt-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 e r t y u i o p [ ] \\",
  31. "a s d f g h j k l ; ' {enter}",
  32. "{shift} z x c v b n m , . / {shift}",
  33. "{accept} {alt} {space} {alt} {cancel}"
  34. ]
  35. };