37 lines
1.3 KiB
JavaScript
37 lines
1.3 KiB
JavaScript
/* Hebrew keyboard layouts
|
|
* contains layout: 'hebrew-qwerty'
|
|
*
|
|
* To use:
|
|
* Point to this js file into your page header: <script src="layouts/hebrew.js" type="text/javascript"></script>
|
|
* Initialize the keyboard using: $('input').keyboard({ layout: 'hebrew-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/212 */
|
|
jQuery.keyboard.layouts['hebrew-qwerty'] = {
|
|
'name' : 'hebrew-qwerty',
|
|
'lang' : ['he'],
|
|
'normal' : [
|
|
'; 1 2 3 4 5 6 7 8 9 0 - = {bksp}',
|
|
"{tab} / ' \u05e7 \u05e8 \u05d0 \u05d8 \u05d5 \u05df \u05dd \u05e4 [ ] \\",
|
|
"\u05e9 \u05d3 \u05d2 \u05db \u05e2 \u05d9 \u05d7 \u05dc \u05da \u05e3 , {enter}",
|
|
"{shift} \u05d6 \u05e1 \u05d1 \u05d4 \u05e0 \u05de \u05e6 \u05ea \u05e5 . {shift}",
|
|
"{accept} {alt} {space} {alt} {cancel}"
|
|
],
|
|
'alt-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' : [
|
|
'` 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}"
|
|
]
|
|
};
|