/
belarusian.js
41 lines (40 loc) · 1.68 KB
/
belarusian.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* Belarusian keyboard layouts
* contains layout: 'belarusian-qwerty'
*
* To use:
* Point to this js file into your page header: <script src="layouts/belarusian.js" type="text/javascript"></script>
* Initialize the keyboard using: $('input').keyboard({ layout: 'belarusian-qwerty' });
*
* license for this file: WTFPL, unless the source layout site has a problem with me using them as a reference
*/
/* based on http://ascii-table.com/keyboard.php/463 & http://www.google.com/webelements/ */
$.keyboard.layouts['belarusian-qwerty'] = {
'default' : [
"` 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
"{tab} q w e r t y u i o p [ ] \\",
"a s d f g h j k l ; ' {enter}",
"{shift} z x c v b n m , . / {shift}",
"{accept} {alt} {space} {alt} {cancel}"
],
'shift' : [
'~ ! @ # $ % ^ & * ( ) _ + {bksp}',
"{tab} Q W E R T Y U I O P { } |",
'A S D F G H J K L : " {enter}',
"{shift} Z X C V B N M < > ? {shift}",
"{accept} {alt} {space} {alt} {cancel}"
],
'alt' : [
"\u0451 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
"{tab} \u0439 \u0446 \u0443 \u043a \u0435 \u043d \u0433 \u0448 \u045e \u0437 \u0445 ' \\",
"\u0444 \u044b \u0432 \u0430 \u043f \u0440 \u043e \u043b \u0434 \u0436 \u044d {enter}",
"{shift} \u044f \u0447 \u0441 \u043c \u0456 \u0442 \u044c \u0431 \u044e . {shift}",
"{accept} {alt} {space} {alt} {cancel}"
],
'alt-shift' : [
'\u0401 ! " \u2116 ; \u20ac : ? * ( ) _ + {bksp}',
"{tab} \u0419 \u0426 \u0423 \u041a \u0415 \u041d \u0413 \u0428 \u040e \u0417 \u0425 ' /",
"\u0424 \u042b \u0412 \u0410 \u041f \u0420 \u041e \u041b \u0414 \u0416 \u042d {enter}",
"{shift} \u042f \u0427 \u0421 \u041c \u0406 \u0422 \u042c \u0411 \u042e , {shift}",
"{accept} {alt} {space} {alt} {cancel}"
]
};