Skip to content

Commit

Permalink
Added Turkish QWERTY keyboard layout (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
ozkan authored Jul 27, 2024
1 parent d4f74f9 commit 2213e7c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
31 changes: 31 additions & 0 deletions src/main/python/keymap/turkish.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# 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_MINUS": "?\n* \\",
"KC_EQUAL": "_\n- ",
"KC_Q": "Q\n @",
"KC_E": "E\n €",
"KC_T": "T\n ₺",
"KC_A": "A\n æ",
"KC_S": "S\n ß",
"KC_LBRACKET": \n ¨",
"KC_RBRACKET": \n ~",
"KC_SCOLON": \n ´",
"KC_QUOTE": "İ",
"KC_COMMA": "Ö",
"KC_DOT": "Ç",
"KC_NONUS_HASH": ";\n, `",
"KC_NONUS_BSLASH": ">\n< |",
"KC_SLASH": ":\n."
}
5 changes: 3 additions & 2 deletions src/main/python/keymaps.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from keycodes.keycodes import Keycode
from keymap import brazilian, canadian_csa, colemak, danish, eurkey, french, german, hebrew, hungarian, italian, japanese, latam, norwegian, russian, slovak, spanish, swedish, swedish_swerty, swiss, croatian
from keymap import brazilian, canadian_csa, colemak, danish, eurkey, french, german, hebrew, hungarian, italian, japanese, latam, norwegian, russian, slovak, spanish, swedish, swedish_swerty, swiss, turkish, croatian

KEYMAPS = [
("QWERTY", dict()),
Expand All @@ -23,7 +23,8 @@
("Spanish (QWERTY)", spanish.keymap),
("Swedish (QWERTY)", swedish.keymap),
("Swedish (SWERTY)", swedish_swerty.keymap),
("Swiss (QWERTZ)", swiss.keymap)
("Swiss (QWERTZ)", swiss.keymap),
("Turkish (QWERTY)", turkish.keymap)
]

# make sure that qmk IDs we used are all correct
Expand Down

0 comments on commit 2213e7c

Please sign in to comment.