serbian.js 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. /* Serbian keyboard layouts
  2. * contains layout: 'sr-Cyrl' & 'sr'
  3. *
  4. * To use:
  5. * Point to this js file into your page header: <script src="layouts/russian.js" type="text/javascript"></script>
  6. * Initialize the keyboard using: $('input').keyboard({ layout: 'russian-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. /* Serbian Cyrillic Keyboard Layout (српски) * generated from http://www.greywyvern.com/code/javascript/keyboard layouts */
  11. jQuery.keyboard.layouts["sr-Cyrl"] = {
  12. 'name' : "Serbian Cyrillic (sr-Cyrl)",
  13. 'lang' : ['sr'],
  14. "default" : [
  15. "` 1 2 3 4 5 6 7 8 9 0 ' + {bksp}",
  16. "{tab} \u0459 \u045a \u0435 \u0440 \u0442 \u0437 \u0443 \u0438 \u043e \u043f \u0448 \u0452 \u0436",
  17. " \u0430 \u0441 \u0434 \u0444 \u0433 \u0445 \u0458 \u043a \u043b \u0447 \u045b {enter}",
  18. "{shift} < \u0455 \u045f \u0446 \u0432 \u0431 \u043d \u043c , . - {shift}",
  19. "{accept} {alt} {space} {alt} {cancel}"
  20. ],
  21. 'shift' : [
  22. '~ ! " # $ % & / ( ) = ? * {bksp}',
  23. "{tab} \u0409 \u040a \u0415 \u0420 \u0422 \u0417 \u0423 \u0418 \u041e \u041f \u0428 \u0402 \u0416",
  24. " \u0410 \u0421 \u0414 \u0424 \u0413 \u0425 \u0408 \u041a \u041b \u0427 \u040b {enter}",
  25. "{shift} > \u0405 \u040f \u0426 \u0412 \u0411 \u041d \u041c ; : _ {shift}",
  26. "{accept} {alt} {space} {alt} {cancel}"
  27. ],
  28. 'alt' : [
  29. "` 1 2 3 4 5 6 7 8 9 0 ' + {bksp}",
  30. "{tab} \u0459 \u045a \u0435 \u0440 \u0442 \u0437 \u0443 \u0438 \u043e \u043f \u0448 \u0452 \u0436",
  31. " \u0430 \u0441 \u0434 \u0444 \u0433 \u0445 \u0458 \u043a \u043b \u0447 \u045b {enter}",
  32. "{shift} < \u0455 \u045f \u0446 \u0432 \u0431 \u043d \u043c , . - {shift}",
  33. "{accept} {alt} {space} {alt} {cancel}"
  34. ]
  35. };
  36. /* Serbian Latin Keyboard Layout (Srpski) * generated from http://www.greywyvern.com/code/javascript/keyboard layouts */
  37. jQuery.keyboard.layouts.sr = {
  38. 'name' : "Serbian Latin (sr)",
  39. 'lang' : ['sr'],
  40. "default" : [
  41. "\u00b8 1 2 3 4 5 6 7 8 9 0 ' + {bksp}",
  42. "{tab} q w e r t z u i o p \u0161 \u0111 \u017e",
  43. " a s d f g h j k l \u010d \u0107 {enter}",
  44. "{shift} < y x c v b n m , . - {shift}",
  45. "{accept} {alt} {space} {alt} {cancel}"
  46. ],
  47. shift : [
  48. '\u00a8 ! " # $ % & / ( ) = ? * {bksp}',
  49. "{tab} Q W E R T Z U I O P \u0160 \u0110 \u017d",
  50. " A S D F G H J K L \u010c \u0106 {enter}",
  51. "{shift} > Y X C V B N M ; : _ {shift}",
  52. "{accept} {alt} {space} {alt} {cancel}"
  53. ],
  54. alt : [
  55. "\u00b8 1 2 3 4 5 6 7 8 9 0 ' + {bksp}",
  56. "{tab} q w e r t z u i o p \u0161 \u0111 \u017e",
  57. " a s d f g h j k l \u010d \u0107 {enter}",
  58. "{shift} < y x c v b n m , . - {shift}",
  59. "{accept} {alt} {space} {alt} {cancel}"
  60. ]
  61. };
  62. /* Serbian Cyrillic Keyboard Layout (српски) for Mac */
  63. jQuery.keyboard.layouts["sr-Cyrl-mac"] = {
  64. 'name' : "Serbian Cyrillic for Mac (sr-Cyrl)",
  65. 'lang' : ['sr'],
  66. "default" : [
  67. "< 1 2 3 4 5 6 7 8 9 0 ' + {bksp}",
  68. "{tab} \u0459 \u045a \u0435 \u0440 \u0442 \u0437 \u0443 \u0438 \u043e \u043f \u0448 \u0452 \u0436",
  69. " \u0430 \u0441 \u0434 \u0444 \u0433 \u0445 \u0458 \u043a \u043b \u0447 \u045b {enter}",
  70. "{shift} \u0455 \u045f \u0446 \u0432 \u0431 \u043d \u043c , . - {shift}",
  71. "{accept} {alt} {space} {alt} {cancel}"
  72. ],
  73. shift : [
  74. '> ! " # $ % & / ( ) = ? * {bksp}',
  75. "{tab} \u0409 \u040a \u0415 \u0420 \u0422 \u0417 \u0423 \u0418 \u041e \u041f \u0428 \u0402 \u0416",
  76. " \u0410 \u0421 \u0414 \u0424 \u0413 \u0425 \u0408 \u041a \u041b \u0427 \u040b {enter}",
  77. "{shift} \u0405 \u040f \u0426 \u0412 \u0411 \u041d \u041c ; : _ {shift}",
  78. "{accept} {alt} {space} {alt} {cancel}"
  79. ],
  80. alt : [
  81. "` \u2020 \u00b0 \u20ac \u201e \u2122 \u221e \u00a3 \u0490 \u00b6 \u2022 \u2013 = {bksp}",
  82. "{tab} q w e r t y u i o p [ ] \u2018",
  83. ' a s d f g h j k l ; " {enter}',
  84. "{shift} z x c v b n m , . / {shift}",
  85. "{accept} {alt} {space} {alt} {cancel}"
  86. ],
  87. "alt-shift" : [
  88. "~ ! @ # \u201c % ^ & * ( ) \u2014 + {bksp}",
  89. "{tab} Q W E R T Y U I O P { } \u2019",
  90. " A S D F G H J K L : \u201d {enter}",
  91. "{shift} Z X C V B N M < > ? {shift}",
  92. "{accept} {alt} {space} {alt} {cancel}"
  93. ]
  94. };
  95. /* Serbian Latin Keyboard Layout (Srpski) for Mac */
  96. jQuery.keyboard.layouts["sr-mac"] = {
  97. 'name' : "Serbian Latin for Mac (sr)",
  98. 'lang' : ['sr'],
  99. "default" : [
  100. "< 1 2 3 4 5 6 7 8 9 0 / + {bksp}",
  101. "{tab} q w e r t z u i o p \u0161 \u0111 \u017e",
  102. " a s d f g h j k l \u010d \u0107 {enter}",
  103. "{shift} y x c v b n m , . - {shift}",
  104. "{accept} {alt} {space} {alt} {cancel}"
  105. ],
  106. shift : [
  107. "> ! \" # $ % & ' ( ) = ? * {bksp}",
  108. "{tab} Q W E R T Z U I O P \u0160 \u0110 \u017d",
  109. " A S D F G H J K L \u010c \u0106 {enter}",
  110. "{shift} Y X C V B N M ; : _ {shift}",
  111. "{accept} {alt} {space} {alt} {cancel}"
  112. ],
  113. alt : [
  114. "` \u00a1 \u2122 \u00a3 \u00a2 \u221e \u00a7 \u00b6 \u2022 \u00aa \u00ba - \u2260 {bksp}",
  115. "{tab} \u0153 \u2211 \u00b4 \u00ae \u2020 \u2014 \u00a8 ^ \u00f8 \u03c0 [ ] ",
  116. "\u00e5 \u00df \u2202 \u0192 \u00a9 \u030f \u2206 \u0311 \u00ac \u2026 ^ {enter}",
  117. "{shift} \u03a9 \u2248 \u00e7 \u221a \u222b ~ \u00b5 \u2264 \u2265 \u00f7 {shift}",
  118. "{accept} {alt} {space} {alt} {cancel}"
  119. ],
  120. "alt-shift" : [
  121. "~ \u2044 @ \u2039 \u203a \u20ac \u0131 \u2013 \u00b0 \u00b7 \u201a _ \u00b1 {bksp}",
  122. "{tab} \u0152 \u201e \u2030 \u201c \u2018 \u201d \u2019 \u00c9 \u00d8 \u220f { } |",
  123. "\u00c5 \u00cd \u00ce \u00cf \u00cc \u00d3 \u00d4 \uf8ff \u00d2 \u00e6 \u00c6 {enter}",
  124. "{shift} \u00ab \u00bb \u00c7 \u25ca \u00d1 \u02c6 \u00af \u00c8 \u02c7 \u00bf {shift}",
  125. "{accept} {alt} {space} {alt} {cancel}"
  126. ]
  127. };