diff --git a/keyboards/tweetydabird/chameleon/config.h b/keyboards/tweetydabird/chameleon/config.h index ba31336014e..dc131a494f2 100644 --- a/keyboards/tweetydabird/chameleon/config.h +++ b/keyboards/tweetydabird/chameleon/config.h @@ -3,4 +3,4 @@ #pragma once -#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral +#define WS2812_PIO_USE_PIO1 // Force the usage of PIO1 peripheral, by default the WS2812 implementation uses the PIO0 peripheral \ No newline at end of file diff --git a/keyboards/tweetydabird/chameleon/keymaps/vial/config.h b/keyboards/tweetydabird/chameleon/keymaps/vial/config.h new file mode 100644 index 00000000000..be51df2ddc1 --- /dev/null +++ b/keyboards/tweetydabird/chameleon/keymaps/vial/config.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#pragma once + +#define VIAL_KEYBOARD_UID {0x40, 0x13, 0xA0, 0xCD, 0x14, 0x2B, 0xB5, 0xB0} + +#define VIAL_UNLOCK_COMBO_ROWS { 2, 3 } +#define VIAL_UNLOCK_COMBO_COLS { 0, 0 } diff --git a/keyboards/tweetydabird/chameleon/keymaps/vial/keymap.c b/keyboards/tweetydabird/chameleon/keymaps/vial/keymap.c new file mode 100644 index 00000000000..ab2261a4fbc --- /dev/null +++ b/keyboards/tweetydabird/chameleon/keymaps/vial/keymap.c @@ -0,0 +1,57 @@ +// Copyright 2023 QMK +// SPDX-License-Identifier: GPL-2.0-or-later + +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + /* + * ┌──────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐ + * │ A │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ Del │ + * ├──────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ + * │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ Bksp│ + * ├──────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ + * │ Esc │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ + * ├──────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ + * │ Shft │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Ent │ + * ├──────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤ + * │ AltGr│ CTRL│ ALT │ Win │ ⇓ │Space│Space│ ⇑ │ ← │ ↓ │ ↑ │ → │ + * └──────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘ + */ + [0] = LAYOUT_ortho_5x12( + KC_A, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, + KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT, + KC_RALT, KC_LCTL, KC_LALT, KC_LGUI, TG(1), KC_SPC, KC_SPC, TG(2), KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT + ), + [1] = LAYOUT_ortho_5x12( + _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + [2] = LAYOUT_ortho_5x12( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ), + [3] = LAYOUT_ortho_5x12( + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, RGB_TOG, RGB_MOD, _______, _______, _______, _______, _______, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ + ) +}; + +#if defined(ENCODER_MAP_ENABLE) +const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = { + [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, + [1] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, + [2] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) }, + [3] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU), ENCODER_CCW_CW(KC_VOLD, KC_VOLU) } +}; +#endif diff --git a/keyboards/tweetydabird/chameleon/keymaps/vial/rules.mk b/keyboards/tweetydabird/chameleon/keymaps/vial/rules.mk new file mode 100644 index 00000000000..6bc7063adc2 --- /dev/null +++ b/keyboards/tweetydabird/chameleon/keymaps/vial/rules.mk @@ -0,0 +1,2 @@ +VIA_ENABLE = yes +VIAL_ENABLE = yes \ No newline at end of file diff --git a/keyboards/tweetydabird/chameleon/keymaps/vial/vial.json b/keyboards/tweetydabird/chameleon/keymaps/vial/vial.json new file mode 100644 index 00000000000..38c2b9f800f --- /dev/null +++ b/keyboards/tweetydabird/chameleon/keymaps/vial/vial.json @@ -0,0 +1,648 @@ +{ + "lighting": "qmk_rgblight", + "matrix": { + "rows": 10, + "cols": 6 + }, + "layouts": { + "labels":[ + [ + "Layout", + "4x12 Matrix", + "4x12 Center 2u", + "4x12 Left 2u", + "4x12 Right 2u", + "4x12 Dual 2u", + "5x12 Matrix", + "5x12 Center 2u", + "5x12 Left 2u", + "5x12 Right 2u", + "5x12 Dual 2u" + + ], + "Encoder Top Left", + "Encoder Top Right", + "Encoder Bottom Left", + "Encoder Bottom Right" + ], + "keymap": +[ + [ + { + "d": true + }, + "0,1\n\n\n1,0\n\n\n\n\n\ne", + { + "d": true + }, + "0,0\n\n\n1,0\n\n\n\n\n\ne", + "0,0", + "0,1", + "0,2", + "0,3", + "0,4", + "0,5", + "1,5", + "1,4", + "1,3", + "1,2", + "1,1", + "1,0", + { + "d": true + }, + "1,1\n\n\n2,0\n\n\n\n\n\ne", + { + "d": true + }, + "1,0\n\n\n2,0\n\n\n\n\n\ne" + ], + [ + "0,1\n\n\n1,1\n\n\n\n\n\ne", + "0,0\n\n\n1,1\n\n\n\n\n\ne", + "2,0", + "2,1", + "2,2", + "2,3", + "2,4", + "2,5", + "3,5", + "3,4", + "3,3", + "3,2", + "3,1", + "3,0", + "1,1\n\n\n2,1\n\n\n\n\n\ne", + "1,0\n\n\n2,1\n\n\n\n\n\ne" + ], + [ + { + "x": 2 + }, + "4,0", + "4,1", + "4,2", + "4,3", + "4,4", + "4,5", + "5,5", + "5,4", + "5,3", + "5,2", + "5,1", + "5,0" + ], + [ + { + "d": true + }, + "2,1\n\n\n3,0\n\n\n\n\n\ne", + { + "d": true + }, + "2,0\n\n\n3,0\n\n\n\n\n\ne", + "6,0\n\n\n0,0", + "6,1\n\n\n0,0", + "6,2\n\n\n0,0", + "6,3\n\n\n0,0", + "6,4\n\n\n0,0", + "6,5\n\n\n0,0", + "7,5\n\n\n0,0", + "7,4\n\n\n0,0", + "7,3\n\n\n0,0", + "7,2\n\n\n0,0", + "7,1\n\n\n0,0", + "7,0\n\n\n0,0", + { + "d": true + }, + "3,1\n\n\n4,0\n\n\n\n\n\ne", + { + "d": true + }, + "3,0\n\n\n4,0\n\n\n\n\n\ne" + ], + [ + "2,1\n\n\n3,1\n\n\n\n\n\ne", + "2,0\n\n\n3,1\n\n\n\n\n\ne", + { + "d": true + }, + "8,0\n\n\n0,0", + { + "d": true + }, + "8,1\n\n\n0,0", + { + "d": true + }, + "8,2\n\n\n0,0", + { + "d": true + }, + "8,3\n\n\n0,0", + { + "d": true + }, + "8,4\n\n\n0,0", + { + "d": true + }, + "8,5\n\n\n0,0", + { + "d": true + }, + "9,5\n\n\n0,0", + { + "d": true + }, + "9,4\n\n\n0,0", + { + "d": true + }, + "9,3\n\n\n0,0", + { + "d": true + }, + "9,2\n\n\n0,0", + { + "d": true + }, + "9,1\n\n\n0,0", + { + "d": true + }, + "9,0\n\n\n0,0", + "3,1\n\n\n4,1\n\n\n\n\n\ne", + "3,0\n\n\n4,1\n\n\n\n\n\ne" + ], + [ + { + "y": 0.75, + "x": 2 + }, + "6,0\n\n\n0,1", + "6,1\n\n\n0,1", + "6,2\n\n\n0,1", + "6,3\n\n\n0,1", + "6,4\n\n\n0,1", + { + "w": 2 + }, + "6,5\n\n\n0,1", + "7,4\n\n\n0,1", + "7,3\n\n\n0,1", + "7,2\n\n\n0,1", + "7,1\n\n\n0,1", + "7,0\n\n\n0,1" + ], + [ + { + "x": 2, + "d": true + }, + "8,0\n\n\n0,1", + { + "d": true + }, + "8,1\n\n\n0,1", + { + "d": true + }, + "8,2\n\n\n0,1", + { + "d": true + }, + "8,3\n\n\n0,1", + { + "d": true + }, + "8,4\n\n\n0,1", + { + "d": true + }, + "8,5\n\n\n0,1", + { + "d": true + }, + "9,5\n\n\n0,1", + { + "d": true + }, + "9,4\n\n\n0,1", + { + "d": true + }, + "9,3\n\n\n0,1", + { + "d": true + }, + "9,2\n\n\n0,1", + { + "d": true + }, + "9,1\n\n\n0,1", + { + "d": true + }, + "9,0\n\n\n0,1" + ], + [ + { + "x": 2 + }, + "6,0\n\n\n0,2", + "6,1\n\n\n0,2", + "6,2\n\n\n0,2", + "6,3\n\n\n0,2", + { + "w": 2 + }, + "6,4\n\n\n0,2", + "7,5\n\n\n0,2", + "7,4\n\n\n0,2", + "7,3\n\n\n0,2", + "7,2\n\n\n0,2", + "7,1\n\n\n0,2", + "7,0\n\n\n0,2" + ], + [ + { + "x": 2, + "d": true + }, + "8,0\n\n\n0,2", + { + "d": true + }, + "8,1\n\n\n0,2", + { + "d": true + }, + "8,2\n\n\n0,2", + { + "d": true + }, + "8,3\n\n\n0,2", + { + "d": true + }, + "8,4\n\n\n0,2", + { + "d": true + }, + "8,5\n\n\n0,2", + { + "d": true + }, + "9,5\n\n\n0,2", + { + "d": true + }, + "9,4\n\n\n0,2", + { + "d": true + }, + "9,3\n\n\n0,2", + { + "d": true + }, + "9,2\n\n\n0,2", + { + "d": true + }, + "9,1\n\n\n0,2", + { + "d": true + }, + "9,0\n\n\n0,2" + ], + [ + { + "x": 2 + }, + "6,0\n\n\n0,3", + "6,1\n\n\n0,3", + "6,2\n\n\n0,3", + "6,3\n\n\n0,3", + "6,4\n\n\n0,3", + "6,5\n\n\n0,3", + { + "w": 2 + }, + "7,5\n\n\n0,3", + "7,3\n\n\n0,3", + "7,2\n\n\n0,3", + "7,1\n\n\n0,3", + "7,0\n\n\n0,3" + ], + [ + { + "x": 2, + "d": true + }, + "8,0\n\n\n0,3", + { + "d": true + }, + "8,1\n\n\n0,3", + { + "d": true + }, + "8,2\n\n\n0,3", + { + "d": true + }, + "8,3\n\n\n0,3", + { + "d": true + }, + "8,4\n\n\n0,3", + { + "d": true + }, + "8,5\n\n\n0,3", + { + "d": true + }, + "9,5\n\n\n0,3", + { + "d": true + }, + "9,4\n\n\n0,3", + { + "d": true + }, + "9,3\n\n\n0,3", + { + "d": true + }, + "9,2\n\n\n0,3", + { + "d": true + }, + "9,1\n\n\n0,3", + { + "d": true + }, + "9,0\n\n\n0,3" + ], + [ + { + "x": 2 + }, + "6,0\n\n\n0,4", + "6,1\n\n\n0,4", + "6,2\n\n\n0,4", + "6,3\n\n\n0,4", + { + "w": 2 + }, + "6,4\n\n\n0,4", + { + "w": 2 + }, + "7,5\n\n\n0,4", + "7,3\n\n\n0,4", + "7,2\n\n\n0,4", + "7,1\n\n\n0,4", + "7,0\n\n\n0,4" + ], + [ + { + "x": 2, + "d": true + }, + "8,0\n\n\n0,4", + { + "d": true + }, + "8,1\n\n\n0,4", + { + "d": true + }, + "8,2\n\n\n0,4", + { + "d": true + }, + "8,3\n\n\n0,4", + { + "d": true + }, + "8,4\n\n\n0,4", + { + "d": true + }, + "8,5\n\n\n0,4", + { + "d": true + }, + "9,5\n\n\n0,4", + { + "d": true + }, + "9,4\n\n\n0,4", + { + "d": true + }, + "9,3\n\n\n0,4", + { + "d": true + }, + "9,2\n\n\n0,4", + { + "d": true + }, + "9,1\n\n\n0,4", + { + "d": true + }, + "9,0\n\n\n0,4" + ], + [ + { + "x": 2 + }, + "6,0\n\n\n0,5", + "6,1\n\n\n0,5", + "6,2\n\n\n0,5", + "6,3\n\n\n0,5", + "6,4\n\n\n0,5", + "6,5\n\n\n0,5", + "7,5\n\n\n0,5", + "7,4\n\n\n0,5", + "7,3\n\n\n0,5", + "7,2\n\n\n0,5", + "7,1\n\n\n0,5", + "7,0\n\n\n0,5" + ], + [ + { + "x": 2 + }, + "8,0\n\n\n0,5", + "8,1\n\n\n0,5", + "8,2\n\n\n0,5", + "8,3\n\n\n0,5", + "8,4\n\n\n0,5", + "8,5\n\n\n0,5", + "9,5\n\n\n0,5", + "9,4\n\n\n0,5", + "9,3\n\n\n0,5", + "9,2\n\n\n0,5", + "9,1\n\n\n0,5", + "9,0\n\n\n0,5" + ], + [ + { + "y": 0.25, + "x": 2 + }, + "6,0\n\n\n0,6", + "6,1\n\n\n0,6", + "6,2\n\n\n0,6", + "6,3\n\n\n0,6", + "6,4\n\n\n0,6", + "6,5\n\n\n0,6", + "7,5\n\n\n0,6", + "7,4\n\n\n0,6", + "7,3\n\n\n0,6", + "7,2\n\n\n0,6", + "7,1\n\n\n0,6", + "7,0\n\n\n0,6" + ], + [ + { + "x": 2 + }, + "8,0\n\n\n0,6", + "8,1\n\n\n0,6", + "8,2\n\n\n0,6", + "8,3\n\n\n0,6", + "8,4\n\n\n0,6", + { + "w": 2 + }, + "8,5\n\n\n0,6", + "9,4\n\n\n0,6", + "9,3\n\n\n0,6", + "9,2\n\n\n0,6", + "9,1\n\n\n0,6", + "9,0\n\n\n0,6" + ], + [ + { + "y": 0.25, + "x": 2 + }, + "6,0\n\n\n0,7", + "6,1\n\n\n0,7", + "6,2\n\n\n0,7", + "6,3\n\n\n0,7", + "6,4\n\n\n0,7", + "6,5\n\n\n0,7", + "7,5\n\n\n0,7", + "7,4\n\n\n0,7", + "7,3\n\n\n0,7", + "7,2\n\n\n0,7", + "7,1\n\n\n0,7", + "7,0\n\n\n0,7" + ], + [ + { + "x": 2 + }, + "8,0\n\n\n0,7", + "8,1\n\n\n0,7", + "8,2\n\n\n0,7", + "8,3\n\n\n0,7", + { + "w": 2 + }, + "8,4\n\n\n0,7", + "9,5\n\n\n0,7", + "9,4\n\n\n0,7", + "9,3\n\n\n0,7", + "9,2\n\n\n0,7", + "9,1\n\n\n0,7", + "9,0\n\n\n0,7" + ], + [ + { + "y": 0.25, + "x": 2 + }, + "6,0\n\n\n0,8", + "6,1\n\n\n0,8", + "6,2\n\n\n0,8", + "6,3\n\n\n0,8", + "6,4\n\n\n0,8", + "6,5\n\n\n0,8", + "7,5\n\n\n0,8", + "7,4\n\n\n0,8", + "7,3\n\n\n0,8", + "7,2\n\n\n0,8", + "7,1\n\n\n0,8", + "7,0\n\n\n0,8" + ], + [ + { + "x": 2 + }, + "8,0\n\n\n0,8", + "8,1\n\n\n0,8", + "8,2\n\n\n0,8", + "8,3\n\n\n0,8", + "8,4\n\n\n0,8", + "8,5\n\n\n0,8", + { + "w": 2 + }, + "9,5\n\n\n0,8", + "9,3\n\n\n0,8", + "9,2\n\n\n0,8", + "9,1\n\n\n0,8", + "9,0\n\n\n0,8" + ], + [ + { + "y": 0.25, + "x": 2 + }, + "6,0\n\n\n0,9", + "6,1\n\n\n0,9", + "6,2\n\n\n0,9", + "6,3\n\n\n0,9", + "6,4\n\n\n0,9", + "6,5\n\n\n0,9", + "7,5\n\n\n0,9", + "7,4\n\n\n0,9", + "7,3\n\n\n0,9", + "7,2\n\n\n0,9", + "7,1\n\n\n0,9", + "7,0\n\n\n0,9" + ], + [ + { + "x": 2 + }, + "8,0\n\n\n0,9", + "8,1\n\n\n0,9", + "8,2\n\n\n0,9", + "8,3\n\n\n0,9", + { + "w": 2 + }, + "8,4\n\n\n0,9", + { + "w": 2 + }, + "9,5\n\n\n0,9", + "9,3\n\n\n0,9", + "9,2\n\n\n0,9", + "9,1\n\n\n0,9", + "9,0\n\n\n0,9" + ] +] + } +} diff --git a/users/art/art_user_config.h.example b/users/art/art_user_config.h.example new file mode 100644 index 00000000000..b5238672596 --- /dev/null +++ b/users/art/art_user_config.h.example @@ -0,0 +1,7 @@ +// Copyright 2022 Artjoms Rizihs (@artjomsR) +// SPDX-License-Identifier: GPL-2.0-or-later + +#define SPLIT75_SETUP_FOR_PUBLIC_USE_BY_DEFAULT true +#define WORKMAN_TO_QWERTY_HW_MAPPING false + +#define lang_switch_combo SS_LGUI(SS_TAP(X_Z)) \ No newline at end of file