Skip to content

Commit

Permalink
Italian keymap added (#227)
Browse files Browse the repository at this point in the history
* Italian added

* Update italian.py

* Update italian.py

* Update italian.py

* Update keycodes_v6.py

256 custom keycodes

* Revert "Update keycodes_v6.py"

This reverts commit 0a79305.
  • Loading branch information
itsvar8 authored Jun 4, 2024
1 parent 48dd886 commit 1154ce1
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
47 changes: 47 additions & 0 deletions src/main/python/keymap/italian.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# coding: utf-8

keymap = {
"KC_GRAVE": "|\n\\",
"KC_1": "!\n1",
"KC_2": '"\n2',
"KC_3": \n3",
"KC_6": "&\n6",
"KC_7": "/\n7",
"KC_8": "(\n8",
"KC_9": ")\n9",
"KC_0": "=\n0",
"KC_MINUS": "?\n'",
"KC_EQUAL": "^\nì",
"KC_E": "E\n €",
"KC_LBRACKET": \nè [",
"KC_RBRACKET": "*\n+ ]",
"KC_BSLASH": \nù",
"KC_SCOLON": \nò @",
"KC_QUOTE": \nà #",
"KC_NONUS_HASH": \nù",
"KC_NONUS_BSLASH": ">\n<",
"KC_COMMA": ";\n,",
"KC_DOT": ":\n.",
"KC_SLASH": "_\n-",
"KC_RALT": "AltGr",
"RALT(kc)": "AltGr\n(kc)",
"RALT_T(kc)": "AltGr_T\n(kc)",
"KC_TILD": "|",
"KC_AT": '"',
"KC_HASH": "£",
"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_PIPE": "§",
"KC_QUES": "_",
"KC_DQUO": "°"
}
3 changes: 2 additions & 1 deletion 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, danish, eurkey, french, german, hebrew, hungarian, japanese, latam, norwegian, russian, slovak, spanish, swedish, swedish_swerty, swiss, croatian
from keymap import brazilian, canadian_csa, danish, eurkey, french, german, hebrew, hungarian, italian, japanese, latam, norwegian, russian, slovak, spanish, swedish, swedish_swerty, swiss, croatian

KEYMAPS = [
("QWERTY", dict()),
Expand All @@ -13,6 +13,7 @@
("German (QWERTZ)", german.keymap),
("Hebrew (Standard)", hebrew.keymap),
("Hungarian (QWERTZ)", hungarian.keymap),
("Italian (QWERTY)", italian.keymap),
("Japanese (QWERTY)", japanese.keymap),
("Latin American (QWERTY)", latam.keymap),
("Norwegian (QWERTY)", norwegian.keymap),
Expand Down

0 comments on commit 1154ce1

Please sign in to comment.