Skip to content

Commit

Permalink
Merge pull request #205 from MarinLovrinovic/feature/croatian-keymap
Browse files Browse the repository at this point in the history
Add Croatian keymap
  • Loading branch information
xyzz authored Sep 23, 2023
2 parents 926db2b + b047239 commit f5ef91f
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 1 deletion.
58 changes: 58 additions & 0 deletions src/main/python/keymap/croatian.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# coding: utf-8

keymap = {
"KC_GRAVE": \n¸",
"KC_1": "!\n1 ~",
"KC_2": '"\n2 ˇ',
"KC_3": "#\n3 ^",
"KC_4": "$\n4 ˘",
"KC_5": "%\n5 °",
"KC_6": "&\n6 ˛",
"KC_7": "/\n7 `",
"KC_8": "(\n8 ˙",
"KC_9": ")\n9 ´",
"KC_0": "=\n0 ˝",
"KC_Q": "Q\n \\",
"KC_W": "W\n |",
"KC_E": "E\n €",
"KC_Y": "Z",
"KC_MINUS": "?\n' ¨",
"KC_EQUAL": "*\n+ ¸",
"KC_LBRACKET": \n ÷",
"KC_RBRACKET": \n ×",
"KC_BSLASH": \n ¤",
"KC_F": "F\n [",
"KC_G": "G\n ]",
"KC_K": "K\n ł",
"KC_L": "L\n Ł",
"KC_SCOLON": "Č",
"KC_QUOTE": \n ß",
"KC_NONUS_BSLASH": ">\n<",
"KC_Z": "Y",
"KC_V": "V\n @",
"KC_B": "B\n {",
"KC_N": "N\n }",
"KC_M": "M\n §",
"KC_COMMA": ";\n,",
"KC_DOT": ":\n.",
"KC_SLASH": "_\n-",
"KC_TILD": "¨",
"KC_AT": '"',
"KC_CIRC": "&",
"KC_AMPR": "/",
"KC_ASTR": "(",
"KC_LPRN": ")",
"KC_RPRN": "=",
"KC_UNDS": "?",
"KC_PLUS": "*",
"KC_LCBR": "Š",
"KC_RCBR": "Đ",
"KC_LT": ";",
"KC_GT": ":",
"KC_COLN": "Č",
"KC_QUES": "_",
"KC_DQUO": "Ć",
"KC_PIPE": "Ž",
"KC_NONUS_HASH": \n ¤",
"KC_KP_DOT": ","
}
3 changes: 2 additions & 1 deletion src/main/python/keymaps.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from keycodes.keycodes import Keycode
from keymap import brazilian, canadian_csa, danish, eurkey, french, german, hebrew, hungarian, japanese, latam, norwegian, russian, slovak, spanish, swedish, swedish_swerty, swiss
from keymap import brazilian, canadian_csa, danish, eurkey, french, german, hebrew, hungarian, japanese, latam, norwegian, russian, slovak, spanish, swedish, swedish_swerty, swiss, croatian

KEYMAPS = [
("QWERTY", dict()),
("Brazilian (QWERTY)", brazilian.keymap),
("Canadian CSA (QWERTY)", canadian_csa.keymap),
("Croatian (QWERTZ)", croatian.keymap),
("Danish (QWERTY)", danish.keymap),
("EurKey (QWERTY)", eurkey.keymap),
("French (AZERTY)", french.keymap),
Expand Down

0 comments on commit f5ef91f

Please sign in to comment.