diff --git a/src/main/python/keymap/turkish.py b/src/main/python/keymap/turkish.py new file mode 100644 index 0000000000..a0c9e568c9 --- /dev/null +++ b/src/main/python/keymap/turkish.py @@ -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." +} \ No newline at end of file diff --git a/src/main/python/keymaps.py b/src/main/python/keymaps.py index 37bce5dba6..3be0f0ef34 100644 --- a/src/main/python/keymaps.py +++ b/src/main/python/keymaps.py @@ -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()), @@ -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