From 85f82f68db8fe8cd59ff23627bf752bd78b9986e Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 24 Jun 2022 17:48:30 -0600 Subject: [PATCH] Add launch_2 (#136) --- backend/src/daemon/server.rs | 4 +- .../keyboards/system76/launch_2/keymap.json | 285 ++++++++ .../keyboards/system76/launch_2/layout.json | 338 +++++++++ layouts/keyboards/system76/launch_2/leds.json | 254 +++++++ .../keyboards/system76/launch_2/physical.json | 211 ++++++ layouts/system76/launch_2/default.json | 642 ++++++++++++++++++ layouts/system76/launch_2/meta.json | 12 + 7 files changed, 1745 insertions(+), 1 deletion(-) create mode 100644 layouts/keyboards/system76/launch_2/keymap.json create mode 100644 layouts/keyboards/system76/launch_2/layout.json create mode 100644 layouts/keyboards/system76/launch_2/leds.json create mode 100644 layouts/keyboards/system76/launch_2/physical.json create mode 100644 layouts/system76/launch_2/default.json create mode 100644 layouts/system76/launch_2/meta.json diff --git a/backend/src/daemon/server.rs b/backend/src/daemon/server.rs index ef9a6480..731ee227 100644 --- a/backend/src/daemon/server.rs +++ b/backend/src/daemon/server.rs @@ -303,7 +303,9 @@ impl Daemon for DaemonServe // System76 launch_1 (0x3384, 0x0001, 1) | // System76 launch_lite_1 - (0x3384, 0x0005, 1) => { + (0x3384, 0x0005, 1) | + // System76 launch_2 + (0x3384, 0x0006, 1) => { // Skip if device already open if self.have_device(&info) { continue; diff --git a/layouts/keyboards/system76/launch_2/keymap.json b/layouts/keyboards/system76/launch_2/keymap.json new file mode 100644 index 00000000..a01cf061 --- /dev/null +++ b/layouts/keyboards/system76/launch_2/keymap.json @@ -0,0 +1,285 @@ +{ + "NONE": 0, + "ROLL_OVER": 1, + "POST_FAIL": 2, + "UNDEFINED": 3, + "A": 4, + "B": 5, + "C": 6, + "D": 7, + "E": 8, + "F": 9, + "G": 10, + "H": 11, + "I": 12, + "J": 13, + "K": 14, + "L": 15, + "M": 16, + "N": 17, + "O": 18, + "P": 19, + "Q": 20, + "R": 21, + "S": 22, + "T": 23, + "U": 24, + "V": 25, + "W": 26, + "X": 27, + "Y": 28, + "Z": 29, + "1": 30, + "2": 31, + "3": 32, + "4": 33, + "5": 34, + "6": 35, + "7": 36, + "8": 37, + "9": 38, + "0": 39, + "ENTER": 40, + "ESC": 41, + "BKSP": 42, + "TAB": 43, + "SPACE": 44, + "MINUS": 45, + "EQUALS": 46, + "BRACE_OPEN": 47, + "BRACE_CLOSE": 48, + "BACKSLASH": 49, + "NONUS_HASH": 50, + "SEMICOLON": 51, + "QUOTE": 52, + "TICK": 53, + "COMMA": 54, + "PERIOD": 55, + "SLASH": 56, + "CAPS": 57, + "F1": 58, + "F2": 59, + "F3": 60, + "F4": 61, + "F5": 62, + "F6": 63, + "F7": 64, + "F8": 65, + "F9": 66, + "F10": 67, + "F11": 68, + "F12": 69, + "PRINT_SCREEN": 70, + "SCROLL_LOCK": 71, + "PAUSE": 72, + "INSERT": 73, + "HOME": 74, + "PGUP": 75, + "DEL": 76, + "END": 77, + "PGDN": 78, + "RIGHT": 79, + "LEFT": 80, + "DOWN": 81, + "UP": 82, + "NUM_LOCK": 83, + "NUM_SLASH": 84, + "NUM_ASTERISK": 85, + "NUM_MINUS": 86, + "NUM_PLUS": 87, + "NUM_ENTER": 88, + "NUM_1": 89, + "NUM_2": 90, + "NUM_3": 91, + "NUM_4": 92, + "NUM_5": 93, + "NUM_6": 94, + "NUM_7": 95, + "NUM_8": 96, + "NUM_9": 97, + "NUM_0": 98, + "NUM_PERIOD": 99, + "NONUS_BSLASH": 100, + "APP": 101, + "POWER": 102, + "NUM_EQUALS": 103, + "F13": 104, + "F14": 105, + "F15": 106, + "F16": 107, + "F17": 108, + "F18": 109, + "F19": 110, + "F20": 111, + "F21": 112, + "F22": 113, + "F23": 114, + "F24": 115, + "EXECUTE": 116, + "HELP": 117, + "MENU": 118, + "SELECT": 119, + "STOP": 120, + "AGAIN": 121, + "UNDO": 122, + "CUT": 123, + "COPY": 124, + "PASTE": 125, + "FIND": 126, + "_MUTE": 127, + "_VOLUP": 128, + "_VOLDOWN": 129, + "LOCKING_CAPS": 130, + "LOCKING_NUM": 131, + "LOCKING_SCROLL": 132, + "NUM_COMMA": 133, + "KP_EQUAL_AS400": 134, + "INT1": 135, + "INT2": 136, + "INT3": 137, + "INT4": 138, + "INT5": 139, + "INT6": 140, + "INT7": 141, + "INT8": 142, + "INT9": 143, + "LANG1": 144, + "LANG2": 145, + "LANG3": 146, + "LANG4": 147, + "LANG5": 148, + "LANG6": 149, + "LANG7": 150, + "LANG8": 151, + "LANG9": 152, + "ALT_ERASE": 153, + "SYSREQ": 154, + "CANCEL": 155, + "CLEAR": 156, + "PRIOR": 157, + "RETURN": 158, + "SEPARATOR": 159, + "OUT": 160, + "OPER": 161, + "CLEAR_AGAIN": 162, + "CRSEL": 163, + "EXSEL": 164, + "LEFT_CTRL": 224, + "LEFT_SHIFT": 225, + "LEFT_ALT": 226, + "LEFT_SUPER": 227, + "RIGHT_CTRL": 228, + "RIGHT_SHIFT": 229, + "RIGHT_ALT": 230, + "RIGHT_SUPER": 231, + "SYSTEM_POWER": 165, + "SUSPEND": 166, + "SYSTEM_WAKE": 167, + "MUTE": 168, + "VOLUME_UP": 169, + "VOLUME_DOWN": 170, + "MEDIA_NEXT": 171, + "MEDIA_PREV": 172, + "MEDIA_STOP": 173, + "PLAY_PAUSE": 174, + "MEDIA_SELECT": 175, + "MEDIA_EJECT": 176, + "MAIL": 177, + "CALCULATOR": 178, + "MY_COMPUTER": 179, + "WWW_SEARCH": 180, + "WWW_HOME": 181, + "WWW_BACK": 182, + "WWW_FORWARD": 183, + "WWW_STOP": 184, + "WWW_REFRESH": 185, + "WWW_FAVORITES": 186, + "MEDIA_FAST_FORWARD": 187, + "MEDIA_REWIND": 188, + "BRIGHTNESS_UP": 189, + "BRIGHTNESS_DOWN": 190, + "FN0": 192, + "FN1": 193, + "FN2": 194, + "FN3": 195, + "FN4": 196, + "FN5": 197, + "FN6": 198, + "FN7": 199, + "FN8": 200, + "FN9": 201, + "FN10": 202, + "FN11": 203, + "FN12": 204, + "FN13": 205, + "FN14": 206, + "FN15": 207, + "FN16": 208, + "FN17": 209, + "FN18": 210, + "FN19": 211, + "FN20": 212, + "FN21": 213, + "FN22": 214, + "FN23": 215, + "FN24": 216, + "FN25": 217, + "FN26": 218, + "FN27": 219, + "FN28": 220, + "FN29": 221, + "FN30": 222, + "FN31": 223, + "MS_UP": 237, + "MS_DOWN": 238, + "MS_LEFT": 239, + "MS_RIGHT": 240, + "MS_BTN1": 241, + "MS_BTN2": 242, + "MS_BTN3": 243, + "MS_BTN4": 244, + "MS_BTN5": 245, + "MS_BTN6": 246, + "MS_BTN7": 247, + "MS_BTN8": 248, + "MS_WH_UP": 249, + "MS_WH_DOWN": 250, + "MS_WH_LEFT": 251, + "MS_WH_RIGHT": 252, + "MS_ACCEL0": 253, + "MS_ACCEL1": 254, + "MS_ACCEL2": 255, + "KBD_TOGGLE": 23747, + "RGB_MODE_FORWARD": 23748, + "RGB_MODE_REVERSE": 23749, + "RGB_HUI": 23750, + "RGB_HUD": 23751, + "RGB_SAI": 23752, + "RGB_SAD": 23753, + "KBD_UP": 23754, + "KBD_DOWN": 23755, + "RGB_SPI": 23756, + "RGB_SPD": 23757, + "RGB_MODE_PLAIN": 23758, + "RGB_MODE_BREATHE": 23759, + "RGB_MODE_RAINBOW": 23760, + "RGB_MODE_SWIRL": 23761, + "RGB_MODE_SNAKE": 23762, + "RGB_MODE_KNIGHT": 23763, + "RGB_MODE_XMAS": 23764, + "RGB_MODE_GRADIENT": 23765, + "RGB_MODE_RGBTEST": 23766, + "LAYER_TOGGLE_1": 21248, + "LAYER_TOGGLE_2": 21249, + "LAYER_TOGGLE_3": 21250, + "LAYER_TOGGLE_4": 21251, + "LAYER_SWITCH_1": 20496, + "LAYER_SWITCH_2": 20497, + "LAYER_SWITCH_3": 20498, + "LAYER_SWITCH_4": 20499, + "LAYER_ACCESS_1": 20736, + "FN": 20737, + "LAYER_ACCESS_3": 20738, + "LAYER_ACCESS_4": 20739, + "RESET": 23552 +} \ No newline at end of file diff --git a/layouts/keyboards/system76/launch_2/layout.json b/layouts/keyboards/system76/launch_2/layout.json new file mode 100644 index 00000000..e519c1b3 --- /dev/null +++ b/layouts/keyboards/system76/launch_2/layout.json @@ -0,0 +1,338 @@ +{ + "K00": [ + 0, + 0 + ], + "K01": [ + 0, + 1 + ], + "K02": [ + 0, + 2 + ], + "K03": [ + 0, + 3 + ], + "K04": [ + 0, + 4 + ], + "K05": [ + 0, + 5 + ], + "K06": [ + 0, + 6 + ], + "K07": [ + 0, + 7 + ], + "K08": [ + 0, + 8 + ], + "K09": [ + 0, + 9 + ], + "K0A": [ + 0, + 10 + ], + "K0B": [ + 0, + 11 + ], + "K0C": [ + 0, + 12 + ], + "K0D": [ + 0, + 13 + ], + "K0E": [ + 3, + 13 + ], + "K10": [ + 1, + 0 + ], + "K11": [ + 1, + 1 + ], + "K12": [ + 1, + 2 + ], + "K13": [ + 1, + 3 + ], + "K14": [ + 1, + 4 + ], + "K15": [ + 1, + 5 + ], + "K16": [ + 1, + 6 + ], + "K17": [ + 1, + 7 + ], + "K18": [ + 1, + 8 + ], + "K19": [ + 1, + 9 + ], + "K1A": [ + 1, + 10 + ], + "K1B": [ + 1, + 11 + ], + "K1C": [ + 1, + 12 + ], + "K1D": [ + 1, + 13 + ], + "K1E": [ + 4, + 13 + ], + "K20": [ + 2, + 0 + ], + "K21": [ + 2, + 1 + ], + "K22": [ + 2, + 2 + ], + "K23": [ + 2, + 3 + ], + "K24": [ + 2, + 4 + ], + "K25": [ + 2, + 5 + ], + "K26": [ + 2, + 6 + ], + "K27": [ + 2, + 7 + ], + "K28": [ + 2, + 8 + ], + "K29": [ + 2, + 9 + ], + "K2A": [ + 2, + 10 + ], + "K2B": [ + 2, + 11 + ], + "K2C": [ + 2, + 12 + ], + "K2D": [ + 2, + 13 + ], + "K2E": [ + 5, + 13 + ], + "K30": [ + 3, + 0 + ], + "K31": [ + 3, + 1 + ], + "K32": [ + 3, + 2 + ], + "K33": [ + 3, + 3 + ], + "K34": [ + 3, + 4 + ], + "K35": [ + 3, + 5 + ], + "K36": [ + 3, + 6 + ], + "K37": [ + 3, + 7 + ], + "K38": [ + 3, + 8 + ], + "K39": [ + 3, + 9 + ], + "K3A": [ + 3, + 10 + ], + "K3B": [ + 3, + 11 + ], + "K3C": [ + 3, + 12 + ], + "K3D": [ + 5, + 5 + ], + "K40": [ + 4, + 0 + ], + "K41": [ + 4, + 1 + ], + "K42": [ + 4, + 2 + ], + "K43": [ + 4, + 3 + ], + "K44": [ + 4, + 4 + ], + "K45": [ + 4, + 5 + ], + "K46": [ + 4, + 6 + ], + "K47": [ + 4, + 7 + ], + "K48": [ + 4, + 8 + ], + "K49": [ + 4, + 9 + ], + "K4A": [ + 4, + 10 + ], + "K4B": [ + 4, + 11 + ], + "K4C": [ + 4, + 12 + ], + "K50": [ + 5, + 0 + ], + "K51": [ + 5, + 1 + ], + "K52": [ + 5, + 2 + ], + "K53": [ + 5, + 3 + ], + "K54": [ + 5, + 4 + ], + "K55": [ + 5, + 6 + ], + "K56": [ + 5, + 7 + ], + "K57": [ + 5, + 8 + ], + "K58": [ + 5, + 9 + ], + "K59": [ + 5, + 10 + ], + "K5A": [ + 5, + 11 + ], + "K5B": [ + 5, + 12 + ] +} \ No newline at end of file diff --git a/layouts/keyboards/system76/launch_2/leds.json b/layouts/keyboards/system76/launch_2/leds.json new file mode 100644 index 00000000..c1f4397e --- /dev/null +++ b/layouts/keyboards/system76/launch_2/leds.json @@ -0,0 +1,254 @@ +{ + "K00": [ + 69 + ], + "K01": [ + 70 + ], + "K02": [ + 71 + ], + "K03": [ + 72 + ], + "K04": [ + 73 + ], + "K05": [ + 74 + ], + "K06": [ + 75 + ], + "K07": [ + 76 + ], + "K08": [ + 77 + ], + "K09": [ + 78 + ], + "K0A": [ + 79 + ], + "K0B": [ + 80 + ], + "K0C": [ + 81 + ], + "K0D": [ + 82 + ], + "K0E": [ + 83 + ], + "K10": [ + 68 + ], + "K11": [ + 67 + ], + "K12": [ + 66 + ], + "K13": [ + 65 + ], + "K14": [ + 64 + ], + "K15": [ + 63 + ], + "K16": [ + 62 + ], + "K17": [ + 61 + ], + "K18": [ + 60 + ], + "K19": [ + 59 + ], + "K1A": [ + 58 + ], + "K1B": [ + 57 + ], + "K1C": [ + 56 + ], + "K1D": [ + 55 + ], + "K1E": [ + 54 + ], + "K20": [ + 39 + ], + "K21": [ + 40 + ], + "K22": [ + 41 + ], + "K23": [ + 42 + ], + "K24": [ + 43 + ], + "K25": [ + 44 + ], + "K26": [ + 45 + ], + "K27": [ + 46 + ], + "K28": [ + 47 + ], + "K29": [ + 48 + ], + "K2A": [ + 49 + ], + "K2B": [ + 50 + ], + "K2C": [ + 51 + ], + "K2D": [ + 52 + ], + "K2E": [ + 53 + ], + "K30": [ + 38 + ], + "K31": [ + 37 + ], + "K32": [ + 36 + ], + "K33": [ + 35 + ], + "K34": [ + 34 + ], + "K35": [ + 33 + ], + "K36": [ + 32 + ], + "K37": [ + 31 + ], + "K38": [ + 30 + ], + "K39": [ + 29 + ], + "K3A": [ + 28 + ], + "K3B": [ + 27 + ], + "K3C": [ + 26 + ], + "K3D": [ + 25 + ], + "K40": [ + 12 + ], + "K41": [ + 11 + ], + "K42": [ + 10 + ], + "K43": [ + 9 + ], + "K44": [ + 8 + ], + "K45": [ + 7 + ], + "K46": [ + 6 + ], + "K47": [ + 5 + ], + "K48": [ + 4 + ], + "K49": [ + 3 + ], + "K4A": [ + 2 + ], + "K4B": [ + 1 + ], + "K4C": [ + 0 + ], + "K50": [ + 13 + ], + "K51": [ + 14 + ], + "K52": [ + 15 + ], + "K53": [ + 16 + ], + "K54": [ + 17 + ], + "K55": [ + 18 + ], + "K56": [ + 19 + ], + "K57": [ + 20 + ], + "K58": [ + 21 + ], + "K59": [ + 22 + ], + "K5A": [ + 23 + ], + "K5B": [ + 24 + ] +} \ No newline at end of file diff --git a/layouts/keyboards/system76/launch_2/physical.json b/layouts/keyboards/system76/launch_2/physical.json new file mode 100644 index 00000000..349bd675 --- /dev/null +++ b/layouts/keyboards/system76/launch_2/physical.json @@ -0,0 +1,211 @@ +[ + { + "name": "System76 Launch Configurable Keyboard 1.0", + "author": "Jeremy Soller", + "switchMount": "cherry", + "switchBrand": "kailh", + "plate": true + }, + [ + { + "c": "#755841", + "a": 7 + }, + "Esc", + { + "c": "#636363" + }, + "F1", + "F2", + "F3", + "F4", + "F5", + "F6", + "F7", + "F8", + "F9", + "F10", + "F11", + "F12", + { + "w": 1.5 + }, + "Del", + { + "x": 0.25 + }, + "Home" + ], + [ + { + "c": "#ffe8d6", + "a": 5 + }, + "~\n`", + "!\n1", + "@\n2", + "#\n3", + "$\n4", + "%\n5", + "^\n6", + "&\n7", + "*\n8", + "(\n9", + ")\n0", + "_\n-", + "+\n=", + { + "c": "#636363", + "a": 7, + "w": 1.5 + }, + "Bksp", + { + "x": 0.25 + }, + "PgUp" + ], + [ + { + "w": 1.5 + }, + "Tab", + { + "c": "#ffe8d6" + }, + "Q", + "W", + "E", + "R", + "T", + "Y", + "U", + "I", + "O", + "P", + { + "a": 5 + }, + "{\n[", + "}\n]", + "|\n\\", + { + "x": 0.25, + "c": "#636363", + "a": 7 + }, + "PgDn" + ], + [ + { + "x": 0.25, + "w": 1.5 + }, + "Caps", + { + "c": "#ffe8d6" + }, + "A", + "S", + "D", + { + "n": true + }, + "F", + "G", + "H", + { + "n": true + }, + "J", + "K", + "L", + { + "a": 5 + }, + ":\n;", + "\"\n'", + { + "c": "#636363", + "a": 7, + "w": 1.5 + }, + "Enter", + { + "x": 0.5 + }, + "End" + ], + [ + { + "x": 0.25, + "w": 2 + }, + "Shift", + { + "c": "#ffe8d6" + }, + "Z", + "X", + "C", + "V", + "B", + "N", + "M", + { + "a": 5 + }, + "<\n,", + ">\n.", + "?\n/", + { + "c": "#636363", + "a": 7, + "w": 1.5 + }, + "Shift", + { + "c": "#755841" + }, + "Up" + ], + [ + { + "x": 0.25, + "c": "#636363", + "w": 1.5 + }, + "Ctrl", + "Alt", + "Fn", + "Super", + { + "c": "#ffe8d6", + "w": 2 + }, + "Space", + { + "w": 2 + }, + "Space", + { + "c": "#636363" + }, + "Ctrl", + "Alt", + { + "w": 1.5 + }, + "Fn", + { + "x": 0.5, + "c": "#755841" + }, + "Left", + { + "n": true + }, + "Down", + "Right" + ] +] diff --git a/layouts/system76/launch_2/default.json b/layouts/system76/launch_2/default.json new file mode 100644 index 00000000..4d52bdd7 --- /dev/null +++ b/layouts/system76/launch_2/default.json @@ -0,0 +1,642 @@ +{ + "model": "system76/launch_2", + "version": 1, + "map": { + "K00": [ + "ESC", + "RESET", + "ROLL_OVER", + "ROLL_OVER" + ], + "K01": [ + "F1", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K02": [ + "F2", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K03": [ + "F3", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K04": [ + "F4", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K05": [ + "F5", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K06": [ + "F6", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K07": [ + "F7", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K08": [ + "F8", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K09": [ + "F9", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K0A": [ + "F10", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K0B": [ + "F11", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K0C": [ + "F12", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K0D": [ + "DEL", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K0E": [ + "HOME", + "PLAY_PAUSE", + "ROLL_OVER", + "ROLL_OVER" + ], + "K10": [ + "TICK", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K11": [ + "1", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K12": [ + "2", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K13": [ + "3", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K14": [ + "4", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K15": [ + "5", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K16": [ + "6", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K17": [ + "7", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K18": [ + "8", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K19": [ + "9", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K1A": [ + "0", + "KBD_TOGGLE", + "ROLL_OVER", + "ROLL_OVER" + ], + "K1B": [ + "MINUS", + "KBD_DOWN", + "ROLL_OVER", + "ROLL_OVER" + ], + "K1C": [ + "EQUALS", + "KBD_UP", + "ROLL_OVER", + "ROLL_OVER" + ], + "K1D": [ + "BKSP", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K1E": [ + "PGUP", + "VOLUME_UP", + "ROLL_OVER", + "ROLL_OVER" + ], + "K20": [ + "TAB", + "PRINT_SCREEN", + "ROLL_OVER", + "ROLL_OVER" + ], + "K21": [ + "Q", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K22": [ + "W", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K23": [ + "E", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K24": [ + "R", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K25": [ + "T", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K26": [ + "Y", + "HOME", + "ROLL_OVER", + "ROLL_OVER" + ], + "K27": [ + "U", + "PGDN", + "ROLL_OVER", + "ROLL_OVER" + ], + "K28": [ + "I", + "PGUP", + "ROLL_OVER", + "ROLL_OVER" + ], + "K29": [ + "O", + "END", + "ROLL_OVER", + "ROLL_OVER" + ], + "K2A": [ + "P", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K2B": [ + "BRACE_OPEN", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K2C": [ + "BRACE_CLOSE", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K2D": [ + "BACKSLASH", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K2E": [ + "PGDN", + "VOLUME_DOWN", + "ROLL_OVER", + "ROLL_OVER" + ], + "K30": [ + "CAPS", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K31": [ + "A", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K32": [ + "S", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K33": [ + "D", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K34": [ + "F", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K35": [ + "G", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K36": [ + "H", + "LEFT", + "ROLL_OVER", + "ROLL_OVER" + ], + "K37": [ + "J", + "DOWN", + "ROLL_OVER", + "ROLL_OVER" + ], + "K38": [ + "K", + "UP", + "ROLL_OVER", + "ROLL_OVER" + ], + "K39": [ + "L", + "RIGHT", + "ROLL_OVER", + "ROLL_OVER" + ], + "K3A": [ + "SEMICOLON", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K3B": [ + "QUOTE", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K3C": [ + "ENTER", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K3D": [ + "END", + "MUTE", + "ROLL_OVER", + "ROLL_OVER" + ], + "K40": [ + "LEFT_SHIFT", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K41": [ + "Z", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K42": [ + "X", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K43": [ + "C", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K44": [ + "V", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K45": [ + "B", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K46": [ + "N", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K47": [ + "M", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K48": [ + "COMMA", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K49": [ + "PERIOD", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K4A": [ + "SLASH", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K4B": [ + "RIGHT_SHIFT", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K4C": [ + "UP", + "PGUP", + "ROLL_OVER", + "ROLL_OVER" + ], + "K50": [ + "LEFT_CTRL", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K51": [ + "LEFT_ALT", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K52": [ + "FN", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K53": [ + "LEFT_SUPER", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K54": [ + "SPACE", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K55": [ + "SPACE", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K56": [ + "RIGHT_CTRL", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K57": [ + "RIGHT_ALT", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K58": [ + "FN", + "ROLL_OVER", + "ROLL_OVER", + "ROLL_OVER" + ], + "K59": [ + "LEFT", + "HOME", + "ROLL_OVER", + "ROLL_OVER" + ], + "K5A": [ + "DOWN", + "PGDN", + "ROLL_OVER", + "ROLL_OVER" + ], + "K5B": [ + "RIGHT", + "END", + "ROLL_OVER", + "ROLL_OVER" + ] + }, + "key_leds": { + "K00": null, + "K01": null, + "K02": null, + "K03": null, + "K04": null, + "K05": null, + "K06": null, + "K07": null, + "K08": null, + "K09": null, + "K0A": null, + "K0B": null, + "K0C": null, + "K0D": null, + "K0E": null, + "K10": null, + "K11": null, + "K12": null, + "K13": null, + "K14": null, + "K15": null, + "K16": null, + "K17": null, + "K18": null, + "K19": null, + "K1A": null, + "K1B": null, + "K1C": null, + "K1D": null, + "K1E": null, + "K20": null, + "K21": null, + "K22": null, + "K23": null, + "K24": null, + "K25": null, + "K26": null, + "K27": null, + "K28": null, + "K29": null, + "K2A": null, + "K2B": null, + "K2C": null, + "K2D": null, + "K2E": null, + "K30": null, + "K31": null, + "K32": null, + "K33": null, + "K34": null, + "K35": null, + "K36": null, + "K37": null, + "K38": null, + "K39": null, + "K3A": null, + "K3B": null, + "K3C": null, + "K3D": null, + "K40": null, + "K41": null, + "K42": null, + "K43": null, + "K44": null, + "K45": null, + "K46": null, + "K47": null, + "K48": null, + "K49": null, + "K4A": null, + "K4B": null, + "K4C": null, + "K50": null, + "K51": null, + "K52": null, + "K53": null, + "K54": null, + "K55": null, + "K56": null, + "K57": null, + "K58": null, + "K59": null, + "K5A": null, + "K5B": null + }, + "layers": [ + { + "mode": [ + 7, + 127 + ], + "brightness": 176, + "color": [ + 142, + 255 + ] + }, + { + "mode": [ + 13, + 127 + ], + "brightness": 176, + "color": [ + 142, + 255 + ] + }, + { + "mode": [ + 13, + 127 + ], + "brightness": 176, + "color": [ + 142, + 255 + ] + }, + { + "mode": [ + 13, + 127 + ], + "brightness": 176, + "color": [ + 142, + 255 + ] + } + ] +} \ No newline at end of file diff --git a/layouts/system76/launch_2/meta.json b/layouts/system76/launch_2/meta.json new file mode 100644 index 00000000..efa64865 --- /dev/null +++ b/layouts/system76/launch_2/meta.json @@ -0,0 +1,12 @@ +{ + "display_name": "Launch Keyboard", + "has_mode": true, + "has_per_layer": true, + "num_layers": 4, + "has_brightness": true, + "has_color": true, + "has_mod_tap": true, + "no_fn_f": true, + "pressed_color": "#202020", + "keyboard": "system76/launch_2" +}