Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #13253 from RudyLu/Bug931200-add_croation_keyboard…
Browse files Browse the repository at this point in the history
…_master

Bug931200 - Add Croation keyboard layout +shepherd.
r=djf
  • Loading branch information
RudyLu committed Nov 1, 2013
2 parents 8b5f217 + 4d91730 commit 4d51e2a
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions keyboard/layouts/hr.js
@@ -0,0 +1,37 @@
Keyboards.hr = {
label: 'Croatian',
menuLabel: 'Hrvatski',
imEngine: 'latin',
autoCorrectLanguage: 'hr',
alt: {
c: 'čćç',
d: 'đ',
s: 'šśß$',
n: 'ñń',
l: '£',
y: '¥',
z: 'žźż',
r: 'R$ ',
'.': ',?!;:'
},
keys: [ // qwertz
[
{ value: 'q' }, { value: 'w' }, { value: 'e' } , { value: 'r' },
{ value: 't' } , { value: 'z' }, { value: 'u' } , { value: 'i' },
{ value: 'o' }, { value: 'p' }
], [
{ value: 'a' }, { value: 's' }, { value: 'd' }, { value: 'f' },
{ value: 'g' } , { value: 'h' }, { value: 'j' }, { value: 'k' },
{ value: 'l' }, { value: "'", keyCode: 39, hidden: ['email', 'url'] },
{ value: ':', visible: ['url']}, { value: '_', visible: ['email']}
], [
{ value: '⇪', ratio: 1.5, keyCode: KeyEvent.DOM_VK_CAPS_LOCK },
{ value: 'y' }, { value: 'x' }, { value: 'c' }, { value: 'v' },
{ value: 'b' }, { value: 'n' }, { value: 'm' },
{ value: '⌫', ratio: 1.5, keyCode: KeyEvent.DOM_VK_BACK_SPACE }
], [
{ value: '&nbsp', ratio: 8, keyCode: KeyboardEvent.DOM_VK_SPACE },
{ value: '↵', ratio: 2, keyCode: KeyEvent.DOM_VK_RETURN }
]
]
};

0 comments on commit 4d51e2a

Please sign in to comment.