Skip to content

Commit

Permalink
Colemak layout (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
niclake authored Jun 21, 2024
1 parent 5cadf49 commit d4f74f9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
21 changes: 21 additions & 0 deletions src/main/python/keymap/colemak.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# coding: utf-8

keymap = {
"KC_E": "F",
"KC_R": "P",
"KC_T": "G",
"KC_Y": "J",
"KC_U": "L",
"KC_I": "U",
"KC_O": "Y",
"KC_P": ";",
"KC_S": "R",
"KC_D": "S",
"KC_F": "T",
"KC_G": "D",
"KC_J": "N",
"KC_K": "E",
"KC_L": "I",
"KC_SCOLON": "O",
"KC_N": "K",
}
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, 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, croatian

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

0 comments on commit d4f74f9

Please sign in to comment.