diff --git a/uchroma/server/data/laptop.yaml b/uchroma/server/data/laptop.yaml index 79b2324..f81a345 100644 --- a/uchroma/server/data/laptop.yaml +++ b/uchroma/server/data/laptop.yaml @@ -302,3 +302,185 @@ children: - [[5, 13], [5, 12]] # arrow which stays where it is because - [[5, 14], [5, 13]] # the up & down keys are the same cell. +- !device-config + name: Blade (2017) + product_id: 0x0224 + dimensions: [6, 16] + supported_fx: [disable, wave, reactive, breathe, spectrum, static, starlight, + rainbow, ripple_solid] + key_mapping: !!omap + - KEY_ESC: [[0, 1]] + - KEY_F1: [[0, 2]] + - KEY_F2: [[0, 3]] + - KEY_F3: [[0, 4]] + - KEY_F4: [[0, 5]] + - KEY_F5: [[0, 6]] + - KEY_F6: [[0, 7]] + - KEY_F7: [[0, 8]] + - KEY_F8: [[0, 9]] + - KEY_F9: [[0, 10]] + - KEY_F10: [[0, 11]] + - KEY_F11: [[0, 12]] + - KEY_F12: [[0, 13]] + - KEY_INSERT: [[0, 14]] + - KEY_DELETE: [[0, 15]] + - KEY_GRAVE: [[1, 1]] + - KEY_1: [[1, 2]] + - KEY_2: [[1, 3]] + - KEY_3: [[1, 4]] + - KEY_4: [[1, 5]] + - KEY_5: [[1, 6]] + - KEY_6: [[1, 7]] + - KEY_7: [[1, 8]] + - KEY_8: [[1, 9]] + - KEY_9: [[1, 10]] + - KEY_0: [[1, 11]] + - KEY_MINUS: [[1, 12]] + - KEY_EQUAL: [[1, 13]] + - KEY_BACKSPACE: [[1, 14], [1, 15]] + - KEY_TAB: [[2, 1]] + - KEY_Q: [[2, 2]] + - KEY_W: [[2, 3]] + - KEY_E: [[2, 4]] + - KEY_R: [[2, 5]] + - KEY_T: [[2, 6]] + - KEY_Y: [[2, 7]] + - KEY_U: [[2, 8]] + - KEY_I: [[2, 9]] + - KEY_O: [[2, 10]] + - KEY_P: [[2, 11]] + - KEY_LEFTBRACE: [[2, 12]] + - KEY_RIGHTBRACE: [[2, 13]] + - KEY_BACKSLASH: [[2, 14], [2, 15]] + - KEY_CAPSLOCK: [[3, 1]] + - KEY_A: [[3, 2]] + - KEY_S: [[3, 3]] + - KEY_D: [[3, 4]] + - KEY_F: [[3, 5]] + - KEY_G: [[3, 6]] + - KEY_H: [[3, 7]] + - KEY_J: [[3, 8]] + - KEY_K: [[3, 9]] + - KEY_L: [[3, 10]] + - KEY_SEMICOLON: [[3, 11]] + - KEY_APOSTROPHE: [[3, 12]] + - KEY_ENTER: [[3, 13], [3, 14], [3, 15]] + - KEY_LEFTSHIFT: [[4, 1], [4, 2]] + - KEY_Z: [[4, 3]] + - KEY_X: [[4, 4]] + - KEY_C: [[4, 5]] + - KEY_V: [[4, 6]] + - KEY_B: [[4, 7]] + - KEY_N: [[4, 8]] + - KEY_M: [[4, 9]] + - KEY_COMMA: [[4, 10]] + - KEY_DOT: [[4, 11]] + - KEY_SLASH: [[4, 12]] + - KEY_RIGHTSHIFT: [[4, 13], [4, 14], [4, 15]] + - KEY_LEFTCTRL: [[5, 1]] + - KEY_LEFTMETA: [[5, 3]] + - KEY_MENU: [[5, 3]] + - KEY_LEFTALT: [[5, 4]] + - KEY_SPACE: [[5, 5], [5, 6], [5, 7], [5, 8], [5, 9]] + - KEY_RIGHTALT: [[5, 10]] + - KEY_RIGHTMETA: [[5, 11]] + - KEY_RIGHTCTRL: [[5, 12]] + - KEY_LEFT: [[5, 13]] + - KEY_UP: [[5, 14]] + - KEY_DOWN: [[5, 14]] + - KEY_RIGHT: [[5, 15]] + key_fixup_mapping: !!omap + - copy: + - [[5, 10], [5, 9]] # The keys to the right of the keyboard + - [[5, 11], [5, 10]] # are offset by one, this slides them + - [[5, 12], [5, 11]] # all over by one, except for the right + - [[5, 13], [5, 12]] # arrow which stays where it is because + - [[5, 14], [5, 13]] # the up & down keys are the same cell. + +- !device-config + name: Blade (2018) + product_id: 0x0233 + dimensions: [6, 16] + supported_fx: [disable, wave, reactive, breathe, spectrum, static, starlight, + rainbow, ripple_solid] + key_mapping: !!omap + - KEY_ESC: [[0, 1]] + - KEY_F1: [[0, 2]] + - KEY_F2: [[0, 3]] + - KEY_F3: [[0, 4]] + - KEY_F4: [[0, 5]] + - KEY_F5: [[0, 6]] + - KEY_F6: [[0, 7]] + - KEY_F7: [[0, 8]] + - KEY_F8: [[0, 9]] + - KEY_F9: [[0, 10]] + - KEY_F10: [[0, 11]] + - KEY_F11: [[0, 12]] + - KEY_F12: [[0, 13]] + - KEY_INSERT: [[0, 14]] + - KEY_DELETE: [[0, 15]] + - KEY_GRAVE: [[1, 1]] + - KEY_1: [[1, 2]] + - KEY_2: [[1, 3]] + - KEY_3: [[1, 4]] + - KEY_4: [[1, 5]] + - KEY_5: [[1, 6]] + - KEY_6: [[1, 7]] + - KEY_7: [[1, 8]] + - KEY_8: [[1, 9]] + - KEY_9: [[1, 10]] + - KEY_0: [[1, 11]] + - KEY_MINUS: [[1, 12]] + - KEY_EQUAL: [[1, 13]] + - KEY_BACKSPACE: [[1, 14], [1, 15]] + - KEY_TAB: [[2, 1]] + - KEY_Q: [[2, 2]] + - KEY_W: [[2, 3]] + - KEY_E: [[2, 4]] + - KEY_R: [[2, 5]] + - KEY_T: [[2, 6]] + - KEY_Y: [[2, 7]] + - KEY_U: [[2, 8]] + - KEY_I: [[2, 9]] + - KEY_O: [[2, 10]] + - KEY_P: [[2, 11]] + - KEY_LEFTBRACE: [[2, 12]] + - KEY_RIGHTBRACE: [[2, 13]] + - KEY_BACKSLASH: [[2, 14], [2, 15]] + - KEY_CAPSLOCK: [[3, 1]] + - KEY_A: [[3, 2]] + - KEY_S: [[3, 3]] + - KEY_D: [[3, 4]] + - KEY_F: [[3, 5]] + - KEY_G: [[3, 6]] + - KEY_H: [[3, 7]] + - KEY_J: [[3, 8]] + - KEY_K: [[3, 9]] + - KEY_L: [[3, 10]] + - KEY_SEMICOLON: [[3, 11]] + - KEY_APOSTROPHE: [[3, 12]] + - KEY_ENTER: [[3, 13], [3, 14], [3, 15]] + - KEY_LEFTSHIFT: [[4, 1], [4, 2]] + - KEY_Z: [[4, 3]] + - KEY_X: [[4, 4]] + - KEY_C: [[4, 5]] + - KEY_V: [[4, 6]] + - KEY_B: [[4, 7]] + - KEY_N: [[4, 8]] + - KEY_M: [[4, 9]] + - KEY_COMMA: [[4, 10]] + - KEY_DOT: [[4, 11]] + - KEY_SLASH: [[4, 12]] + - KEY_UP: [[4, 13]] + - KEY_RIGHTSHIFT: [[4, 14], [4, 15]] + - KEY_LEFTCTRL: [[5, 1]] + - KEY_LEFTMETA: [[5, 3]] + - KEY_MENU: [[5, 3]] + - KEY_LEFTALT: [[5, 4]] + - KEY_SPACE: [[5, 5], [5, 6], [5, 7], [5, 8], [5, 9]] + - KEY_RIGHTALT: [[5, 10]] + - KEY_RIGHTCTRL: [[5, 11]] + - KEY_LEFT: [[5, 12]] + - KEY_DOWN: [[5, 13]] + - KEY_RIGHT: [[5, 14]] + - KEY_RIGHTMETA: [[5, 15]]