Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create MacFI #198

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
230 changes: 230 additions & 0 deletions dist/keymaps/MacFI
Original file line number Diff line number Diff line change
@@ -0,0 +1,230 @@
{
"Name": "MacFI",
"Description": "MAC OSX Finland USB Keyboard report mapping",
"Mapping": {

"CTRL": [{"Modifiers": ["MOD_LEFT_CONTROL"], "Keys": []}],
"CONTROL": [{"Modifiers": ["MOD_LEFT_CONTROL"], "Keys": []}],
"LEFT_CTRL": [{"Modifiers": ["MOD_LEFT_CONTROL"], "Keys": []}],
"RIGHT_CTRL": [{"Modifiers": ["MOD_RIGHT_CONTROL"], "Keys": []}],
"ALT": [{"Modifiers": ["MOD_LEFT_ALT"], "Keys": []}],
"LEFT_ALT": [{"Modifiers": ["MOD_LEFT_ALT"], "Keys": []}],
"RIGHT_ALT": [{"Modifiers": ["MOD_RIGHT_ALT"], "Keys": []}],
"SHIFT": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": []}],
"LEFT_SHIFT": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": []}],
"RIGHT_SHIFT": [{"Modifiers": ["MOD_RIGHT_SHIFT"], "Keys": []}],
"GUI": [{"Modifiers": ["MOD_LEFT_GUI"], "Keys": []}],
"WIN": [{"Modifiers": ["MOD_LEFT_GUI"], "Keys": []}],
"LEFT_GUI": [{"Modifiers": ["MOD_LEFT_GUI"], "Keys": []}],
"RIGHT_GUI": [{"Modifiers": ["MOD_RIGHT_GUI"], "Keys": []}],

"ESC": [{"Modifiers": [], "Keys": ["KEY_ESC"]}],
"ESCAPE": [{"Modifiers": [], "Keys": ["KEY_ESC"]}],

"F1": [{"Modifiers": [], "Keys": ["KEY_F1"]}],
"F2": [{"Modifiers": [], "Keys": ["KEY_F2"]}],
"F3": [{"Modifiers": [], "Keys": ["KEY_F3"]}],
"F4": [{"Modifiers": [], "Keys": ["KEY_F4"]}],
"F5": [{"Modifiers": [], "Keys": ["KEY_F5"]}],
"F6": [{"Modifiers": [], "Keys": ["KEY_F6"]}],
"F7": [{"Modifiers": [], "Keys": ["KEY_F7"]}],
"F8": [{"Modifiers": [], "Keys": ["KEY_F8"]}],
"F9": [{"Modifiers": [], "Keys": ["KEY_F9"]}],
"F10": [{"Modifiers": [], "Keys": ["KEY_F10"]}],
"F11": [{"Modifiers": [], "Keys": ["KEY_F11"]}],
"F12": [{"Modifiers": [], "Keys": ["KEY_F12"]}],

"SYSRQ": [{"Modifiers": [], "Keys": ["KEY_SYSRQ"]}],
"PRINT": [{"Modifiers": [], "Keys": ["KEY_SYSRQ"]}],
"PRINTSCR": [{"Modifiers": [], "Keys": ["KEY_SYSRQ"]}],
"SCROLLLOCK": [{"Modifiers": [], "Keys": ["KEY_SCROLLLOCK"]}],
"SCROLL": [{"Modifiers": [], "Keys": ["KEY_SCROLLLOCK"]}],
"PAUSE": [{"Modifiers": [], "Keys": ["KEY_PAUSE"]}],
"BREAK": [{"Modifiers": [], "Keys": ["KEY_PAUSE"]}],
"BRK": [{"Modifiers": [], "Keys": ["KEY_PAUSE"]}],


"<": [{"Modifiers": [], "Keys": ["KEY_GRAVE"]}],
"1": [{"Modifiers": [], "Keys": ["KEY_1"]}],
"2": [{"Modifiers": [], "Keys": ["KEY_2"]}],
"3": [{"Modifiers": [], "Keys": ["KEY_3"]}],
"4": [{"Modifiers": [], "Keys": ["KEY_4"]}],
"5": [{"Modifiers": [], "Keys": ["KEY_5"]}],
"6": [{"Modifiers": [], "Keys": ["KEY_6"]}],
"7": [{"Modifiers": [], "Keys": ["KEY_7"]}],
"8": [{"Modifiers": [], "Keys": ["KEY_8"]}],
"9": [{"Modifiers": [], "Keys": ["KEY_9"]}],
"0": [{"Modifiers": [], "Keys": ["KEY_0"]}],
"+": [{"Modifiers": [], "Keys": ["KEY_MINUS"]}],
"´": [{"Modifiers": [], "Keys": ["KEY_EQUAL"]}],

">": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_GRAVE"]}],
"!": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_1"]}],
"\"": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_2"]}],
"#": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_3"]}],
"€": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_4"]}],
"%": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_5"]}],
"&": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_6"]}],
"/": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_7"]}],
"(": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_8"]}],
")": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_9"]}],
"=": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_0"]}],
"?": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_MINUS"]}],
"`": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_EQUAL"]}],

"\\": [{"Modifiers": ["MOD_LEFT_SHIFT", "MOD_LEFT_ALT"], "Keys": ["KEY_7"]}],
"{": [{"Modifiers": ["MOD_LEFT_SHIFT", "MOD_LEFT_ALT"], "Keys": ["KEY_8"]}],
"}": [{"Modifiers": ["MOD_LEFT_SHIFT", "MOD_LEFT_ALT"], "Keys": ["KEY_9"]}],


"@": [{"Modifiers": ["MOD_RIGHT_ALT"], "Keys": ["KEY_2"]}],
"£": [{"Modifiers": ["MOD_RIGHT_ALT"], "Keys": ["KEY_3"]}],
"$": [{"Modifiers": ["MOD_RIGHT_ALT"], "Keys": ["KEY_4"]}],
"§": [{"Modifiers": ["MOD_RIGHT_ALT"], "Keys": ["KEY_6"]}],
"|": [{"Modifiers": ["MOD_RIGHT_ALT"], "Keys": ["KEY_7"]}],
"[": [{"Modifiers": ["MOD_RIGHT_ALT"], "Keys": ["KEY_8"]}],
"]": [{"Modifiers": ["MOD_RIGHT_ALT"], "Keys": ["KEY_9"]}],
"BACKSPACE": [{"Modifiers": [], "Keys": ["KEY_BACKSPACE"]}],


"TABULATOR": [{"Modifiers": [], "Keys": ["KEY_TAB"]}],
"TAB": [{"Modifiers": [], "Keys": ["KEY_TAB"]}],
"\t": [{"Modifiers": [], "Keys": ["KEY_TAB"]}],
"q": [{"Modifiers": [], "Keys": ["KEY_Q"]}],
"w": [{"Modifiers": [], "Keys": ["KEY_W"]}],
"e": [{"Modifiers": [], "Keys": ["KEY_E"]}],
"r": [{"Modifiers": [], "Keys": ["KEY_R"]}],
"t": [{"Modifiers": [], "Keys": ["KEY_T"]}],
"y": [{"Modifiers": [], "Keys": ["KEY_Y"]}],
"u": [{"Modifiers": [], "Keys": ["KEY_U"]}],
"i": [{"Modifiers": [], "Keys": ["KEY_I"]}],
"o": [{"Modifiers": [], "Keys": ["KEY_O"]}],
"p": [{"Modifiers": [], "Keys": ["KEY_P"]}],
"å": [{"Modifiers": [], "Keys": ["KEY_LEFTBRACE"]}],
"¨": [{"Modifiers": [], "Keys": ["KEY_RIGHTBRACE"]}],


"Q": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_Q"]}],
"W": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_W"]}],
"E": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_E"]}],
"R": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_R"]}],
"T": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_T"]}],
"Y": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_Y"]}],
"U": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_U"]}],
"I": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_I"]}],
"O": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_O"]}],
"P": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_P"]}],
"Å": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_LEFTBRACE"]}],
"^": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_RIGHTBRACE"]}],



"~": [{"Modifiers": ["MOD_RIGHT_ALT"], "Keys": ["KEY_RIGHTBRACE"]}],
"ENTER": [{"Modifiers": [], "Keys": ["KEY_ENTER"]}],
"RETURN": [{"Modifiers": [], "Keys": ["KEY_ENTER"]}],
"\n": [{"Modifiers": [], "Keys": ["KEY_ENTER"]}],


"CAPSLOCK": [{"Modifiers": [], "Keys": ["KEY_CAPSLOCK"]}],
"CAPS": [{"Modifiers": [], "Keys": ["KEY_CAPSLOCK"]}],
"a": [{"Modifiers": [], "Keys": ["KEY_A"]}],
"s": [{"Modifiers": [], "Keys": ["KEY_S"]}],
"d": [{"Modifiers": [], "Keys": ["KEY_D"]}],
"f": [{"Modifiers": [], "Keys": ["KEY_F"]}],
"g": [{"Modifiers": [], "Keys": ["KEY_G"]}],
"h": [{"Modifiers": [], "Keys": ["KEY_H"]}],
"j": [{"Modifiers": [], "Keys": ["KEY_J"]}],
"k": [{"Modifiers": [], "Keys": ["KEY_K"]}],
"l": [{"Modifiers": [], "Keys": ["KEY_L"]}],
"ö": [{"Modifiers": [], "Keys": ["KEY_SEMICOLON"]}],
"ä": [{"Modifiers": [], "Keys": ["KEY_APOSTROPHE"]}],
"'": [{"Modifiers": [], "Keys": ["KEY_BACKSLASH"]}],

"A": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_A"]}],
"S": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_S"]}],
"D": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_D"]}],
"F": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_F"]}],
"G": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_G"]}],
"H": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_H"]}],
"J": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_J"]}],
"K": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_K"]}],
"L": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_L"]}],
"Ö": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_SEMICOLON"]}],
"Ä": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_APOSTROPHE"]}],
"*": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_BACKSLASH"]}],




"z": [{"Modifiers": [], "Keys": ["KEY_Z"]}],
"x": [{"Modifiers": [], "Keys": ["KEY_X"]}],
"c": [{"Modifiers": [], "Keys": ["KEY_C"]}],
"v": [{"Modifiers": [], "Keys": ["KEY_V"]}],
"b": [{"Modifiers": [], "Keys": ["KEY_B"]}],
"n": [{"Modifiers": [], "Keys": ["KEY_N"]}],
"m": [{"Modifiers": [], "Keys": ["KEY_M"]}],
",": [{"Modifiers": [], "Keys": ["KEY_COMMA"]}],
".": [{"Modifiers": [], "Keys": ["KEY_DOT"]}],
"-": [{"Modifiers": [], "Keys": ["KEY_SLASH"]}],


"Z": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_Z"]}],
"X": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_X"]}],
"C": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_C"]}],
"V": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_V"]}],
"B": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_B"]}],
"N": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_N"]}],
"M": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_M"]}],
";": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_COMMA"]}],
":": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_DOT"]}],
"_": [{"Modifiers": ["MOD_LEFT_SHIFT"], "Keys": ["KEY_SLASH"]}],


" ": [{"Modifiers": [], "Keys": ["KEY_SPACE"]}],
"SPACE": [{"Modifiers": [], "Keys": ["KEY_SPACE"]}],
"SPACEBAR": [{"Modifiers": [], "Keys": ["KEY_SPACE"]}],





"INSERT": [{"Modifiers": [], "Keys": ["KEY_INSERT"]}],
"INS": [{"Modifiers": [], "Keys": ["KEY_INSERT"]}],
"HOME": [{"Modifiers": [], "Keys": ["KEY_HOME"]}],
"POS1": [{"Modifiers": [], "Keys": ["KEY_HOME"]}],
"PAGEUP": [{"Modifiers": [], "Keys": ["KEY_PAGEUP"]}],
"DELETE": [{"Modifiers": [], "Keys": ["KEY_DELETE"]}],
"DEL": [{"Modifiers": [], "Keys": ["KEY_DELETE"]}],
"END": [{"Modifiers": [], "Keys": ["KEY_END"]}],
"PAGEDOWN": [{"Modifiers": [], "Keys": ["KEY_PAGEDOWN"]}],
"RIGHT": [{"Modifiers": [], "Keys": ["KEY_RIGHT"]}],

"LEFT": [{"Modifiers": [], "Keys": ["KEY_LEFT"]}],
"DOWN": [{"Modifiers": [], "Keys": ["KEY_DOWN"]}],
"UP": [{"Modifiers": [], "Keys": ["KEY_UP"]}],
"RIGHT_ARROW": [{"Modifiers": [], "Keys": ["KEY_RIGHT"]}],
"LEFT_ARROW": [{"Modifiers": [], "Keys": ["KEY_LEFT"]}],
"DOWN_ARROW": [{"Modifiers": [], "Keys": ["KEY_DOWN"]}],
"UP_ARROW": [{"Modifiers": [], "Keys": ["KEY_UP"]}],


"COMPOSE": [{"Modifiers": [], "Keys": ["KEY_COMPOSE"]}],

"NUMLOCK": [{"Modifiers": [], "Keys": ["KEY_NUMLOCK"]}],
"NUM": [{"Modifiers": [], "Keys": ["KEY_NUMLOCK"]}],


"F13": [{"Modifiers": [], "Keys": ["KEY_F13"]}],
"F14": [{"Modifiers": [], "Keys": ["KEY_F14"]}],
"F15": [{"Modifiers": [], "Keys": ["KEY_F15"]}],
"F16": [{"Modifiers": [], "Keys": ["KEY_F16"]}],
"F17": [{"Modifiers": [], "Keys": ["KEY_F17"]}],
"F18": [{"Modifiers": [], "Keys": ["KEY_F18"]}],
"F19": [{"Modifiers": [], "Keys": ["KEY_F19"]}],
"F20": [{"Modifiers": [], "Keys": ["KEY_F20"]}],
"F21": [{"Modifiers": [], "Keys": ["KEY_F21"]}],
"F22": [{"Modifiers": [], "Keys": ["KEY_F22"]}],
"F23": [{"Modifiers": [], "Keys": ["KEY_F23"]}],
"F24": [{"Modifiers": [], "Keys": ["KEY_F24"]}]
}
}