123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- /* hungarian keyboard layouts
- * file codepage: this file use utf8 without bom, non ansi
- * contains layout: 'hungarian-qwertz-1' & 'hungarian-qwertz-2'
- *
- * To use:
- * Point to this js file into your page header: <script src="layouts/hungarian.js" type="text/javascript"></script>
- * Initialize the keyboard using: $('input').keyboard({ layout: 'hungarian-qwerty-2' });
- *
- * license for this file: WTFPL, unless the source layout site has a problem with me using them as a reference
- */
- /* qwertz by Tóth Gergely (https://github.com/tgely) - */
- jQuery.keyboard.layouts['hungarian-qwertz-1'] = {
- 'name' : 'hungarian-qwertz-1',
- 'lang' : ['hu'],
- "default" : [
- "0 1 2 3 4 5 6 7 8 9 \u00f6 \u00fc \u00f3 \u0171 {bksp}",
- "{tab} q w e r t z u i o p \u0151 \u00fa",
- "a s d f g h j k l \u00e9 \u00e1 {enter}",
- "{shift} \u00ed y x c v b n m , . - {shift}",
- "{accept} {alt} {space} {alt} {cancel}"
- ],
- "shift" : [
- "\u00a7 ' \" + ! % / = ( ) \u00d6 \u00dc \u00d3 \u0170 {bksp}",
- "{tab} Q W E R T Z U I O P \u0150 \u00da",
- "A S D F G H J K L \u00c9 \u00c1 {enter}",
- "{shift} \u00cd Y X C V B N M ; : _ {shift}",
- "{accept} {alt} {space} {alt} {cancel}"
- ],
- "alt" : [
- "{sp:1} ~ \u02c7 ^ \u02d8 \u00b0 \u02db ` \u02d9 \u00b4 \u02dd \u00a8 \u00b8 \u00a4 {bksp}",
- "{tab} \\ | \u00c4 {sp:1} {sp:1} {sp:1} \u20ac \u00cd {sp:1} {sp:1} \u00f7 \u00d7",
- "\u00e4 \u0111 \u0110 [ ] {sp:1} \u00ed \u0142 \u0141 $ \u00df {enter}",
- "{shift} < > # & @ { } < ; > * {shift}",
- "{accept} {alt} {space} {alt} {cancel}"
- ]
- };
- jQuery.keyboard.layouts['hungarian-qwertz-2'] = {
- 'name' : 'hungarian-qwertz-2',
- 'lang' : ['hu'],
- "default" : [
- "0 1 2 3 4 5 6 7 8 9 \u00f6 \u00fc \u00f3 {bksp}",
- "{tab} q w e r t z u i o p \u0151 \u00fa",
- "a s d f g h j k l \u00e9 \u00e1 \u0171 {enter}",
- "{shift} \u00ed y x c v b n m , . - {shift}",
- "{accept} {alt} {space} {alt} {cancel}"
- ],
- "shift" : [
- "\u00a7 ' \" + ! % / = ( ) \u00d6 \u00dc \u00d3 {bksp}",
- "{tab} Q W E R T Z U I O P \u0150 \u00da",
- "A S D F G H J K L \u00c9 \u00c1 \u0170 {enter}",
- "{shift} \u00cd Y X C V B N M ; : _ {shift}",
- "{accept} {alt} {space} {alt} {cancel}"
- ],
- "alt" : [
- "{sp:1} ~ \u02c7 ^ \u02d8 \u00b0 \u02db ` \u02d9 \u00b4 \u02dd \u00a8 \u00b8 {bksp}",
- "{tab} \\ | \u00c4 {sp:1} {sp:1} {sp:1} \u20ac \u00cd {sp:1} {sp:1} \u00f7 \u00d7",
- "\u00e4 \u0111 \u0110 [ ] {sp:1} \u00ed \u0142 \u0141 $ \u00df \u00a4 {enter}",
- "{shift} < > # & @ { } < ; > * {shift}",
- "{accept} {alt} {space} {alt} {cancel}"
- ]
- };
|