[Keyboard] Add QK100 (#21782)
Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
parent
96c71b9b4c
commit
d2773c6d67
19 changed files with 975 additions and 0 deletions
197
keyboards/qwertykeys/qk100/ansi/ansi.c
Normal file
197
keyboards/qwertykeys/qk100/ansi/ansi.c
Normal file
|
@ -0,0 +1,197 @@
|
|||
/*
|
||||
Copyright 2023 Qwertykeys
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "quantum.h"
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
const is31_led g_is31_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
{0, CS2_SW1, CS3_SW1, CS1_SW1}, /* RGB0-ESC ROW0*/
|
||||
{0, CS5_SW1, CS6_SW1, CS4_SW1}, /* RGB1-F1 */
|
||||
{0, CS8_SW1, CS9_SW1, CS7_SW1}, /* RGB2-F2 */
|
||||
{0, CS11_SW1, CS12_SW1, CS10_SW1}, /* RGB3-F3 */
|
||||
{0, CS14_SW1, CS15_SW1, CS13_SW1}, /* RGB4-F4 */
|
||||
{0, CS17_SW1, CS18_SW1, CS16_SW1}, /* RGB5-F5 */
|
||||
{0, CS20_SW1, CS21_SW1, CS19_SW1}, /* RGB6-F6 */
|
||||
{0, CS23_SW1, CS24_SW1, CS22_SW1}, /* RGB7-F7 */
|
||||
{0, CS26_SW1, CS27_SW1, CS25_SW1}, /* RGB8-F8 */
|
||||
{0, CS29_SW1, CS30_SW1, CS28_SW1}, /* RGB9-F9 */
|
||||
{0, CS32_SW1, CS33_SW1, CS31_SW1}, /* RGB10-F10 */
|
||||
{0, CS35_SW1, CS36_SW1, CS34_SW1}, /* RGB11-F11 */
|
||||
{0, CS38_SW1, CS39_SW1, CS37_SW1}, /* RGB12-F12 */
|
||||
{0, CS29_SW7, CS30_SW7, CS28_SW7}, /* RGB13-Delete */
|
||||
{0, CS32_SW7, CS33_SW7, CS31_SW7}, /* RGB14-End */
|
||||
{0, CS35_SW7, CS36_SW7, CS34_SW7}, /* RGB15-Insert */
|
||||
{0, CS38_SW7, CS39_SW7, CS37_SW7}, /* RGB16-Home */
|
||||
{0, CS2_SW2, CS3_SW2, CS1_SW2}, /* RGB17-~ ----ROW1*/
|
||||
{0, CS5_SW2, CS6_SW2, CS4_SW2}, /* RGB18-1 */
|
||||
{0, CS8_SW2, CS9_SW2, CS7_SW2}, /* RGB19-2 */
|
||||
{0, CS11_SW2, CS12_SW2, CS10_SW2}, /* RGB20-3 */
|
||||
{0, CS14_SW2, CS15_SW2, CS13_SW2}, /* RGB21-4 */
|
||||
{0, CS17_SW2, CS18_SW2, CS16_SW2}, /* RGB22-5 */
|
||||
{0, CS20_SW2, CS21_SW2, CS19_SW2}, /* RGB23-6 */
|
||||
{0, CS23_SW2, CS24_SW2, CS22_SW2}, /* RGB24-7 */
|
||||
{0, CS26_SW2, CS27_SW2, CS25_SW2}, /* RGB25-8 */
|
||||
{0, CS29_SW2, CS30_SW2, CS28_SW2}, /* RGB26-9 */
|
||||
{0, CS32_SW2, CS33_SW2, CS31_SW2}, /* RGB27-0 */
|
||||
{0, CS35_SW2, CS36_SW2, CS34_SW2}, /* RGB28--- */
|
||||
{0, CS38_SW2, CS39_SW2, CS37_SW2}, /* RGB29-+= */
|
||||
{0, CS26_SW7, CS27_SW7, CS25_SW7}, /* RGB30-BS */
|
||||
{0, CS29_SW8, CS30_SW8, CS28_SW8}, /* RGB31-Num Lock */
|
||||
{0, CS32_SW8, CS33_SW8, CS31_SW8}, /* RGB32- / */
|
||||
{0, CS35_SW8, CS36_SW8, CS34_SW8}, /* RGB33- * */
|
||||
{0, CS38_SW8, CS39_SW8, CS37_SW8}, /* RGB34- - */
|
||||
{0, CS2_SW3, CS3_SW3, CS1_SW3}, /* RGB35-TAB ----ROW2*/
|
||||
{0, CS5_SW3, CS6_SW3, CS4_SW3}, /* RGB36-Q */
|
||||
{0, CS8_SW3, CS9_SW3, CS7_SW3}, /* RGB37-W */
|
||||
{0, CS11_SW3, CS12_SW3, CS10_SW3}, /* RGB38-E */
|
||||
{0, CS14_SW3, CS15_SW3, CS13_SW3}, /* RGB39-R */
|
||||
{0, CS17_SW3, CS18_SW3, CS16_SW3}, /* RGB40-T */
|
||||
{0, CS20_SW3, CS21_SW3, CS19_SW3}, /* RGB41-Y */
|
||||
{0, CS23_SW3, CS24_SW3, CS22_SW3}, /* RGB42-U */
|
||||
{0, CS26_SW3, CS27_SW3, CS25_SW3}, /* RGB43-I */
|
||||
{0, CS29_SW3, CS30_SW3, CS28_SW3}, /* RGB44-O */
|
||||
{0, CS32_SW3, CS33_SW3, CS31_SW3}, /* RGB45-P */
|
||||
{0, CS35_SW3, CS36_SW3, CS34_SW3}, /* RGB46-[ */
|
||||
{0, CS38_SW3, CS39_SW3, CS37_SW3}, /* RGB47-] */
|
||||
{0, CS26_SW9, CS27_SW9, CS25_SW9}, /* RGB48-\ */
|
||||
{0, CS29_SW9, CS30_SW9, CS28_SW9}, /* RGB49-page up */
|
||||
{0, CS32_SW9, CS33_SW9, CS31_SW9}, /* RGB50-7 */
|
||||
{0, CS35_SW9, CS36_SW9, CS34_SW9}, /* RGB51-8 */
|
||||
{0, CS38_SW9, CS39_SW9, CS37_SW9}, /* RGB52-9 */
|
||||
{0, CS2_SW4, CS3_SW4, CS1_SW4}, /* RGB53-CAPS---ROW3*/
|
||||
{0, CS5_SW4, CS6_SW4, CS4_SW4}, /* RGB54-A-- */
|
||||
{0, CS8_SW4, CS9_SW4, CS7_SW4}, /* RGB55-S-- */
|
||||
{0, CS11_SW4, CS12_SW4, CS10_SW4}, /* RGB56-D */
|
||||
{0, CS14_SW4, CS15_SW4, CS13_SW4}, /* RGB57-F */
|
||||
{0, CS17_SW4, CS18_SW4, CS16_SW4}, /* RGB58-G */
|
||||
{0, CS20_SW4, CS21_SW4, CS19_SW4}, /* RGB59-H */
|
||||
{0, CS23_SW4, CS24_SW4, CS22_SW4}, /* RGB60-J */
|
||||
{0, CS26_SW4, CS27_SW4, CS25_SW4}, /* RGB61-K */
|
||||
{0, CS29_SW4, CS30_SW4, CS28_SW4}, /* RGB62-L */
|
||||
{0, CS32_SW4, CS33_SW4, CS31_SW4}, /* RGB63-;: */
|
||||
{0, CS35_SW4, CS36_SW4, CS34_SW4}, /* RGB64-'" */
|
||||
{0, CS38_SW4, CS39_SW4, CS37_SW4}, /* RGB65-ENTER */
|
||||
{0, CS11_SW7, CS12_SW7, CS10_SW7}, /* RGB66-Page Down */
|
||||
{0, CS14_SW7, CS15_SW7, CS13_SW7}, /* RGB67-4 */
|
||||
{0, CS17_SW7, CS18_SW7, CS16_SW7}, /* RGB68-5 */
|
||||
{0, CS20_SW7, CS21_SW7, CS19_SW7}, /* RGB69-6 */
|
||||
{0, CS23_SW7, CS24_SW7, CS22_SW7}, /* RGB70-+ */
|
||||
{0, CS2_SW5, CS3_SW5, CS1_SW5}, /* RGB71-LSF --ROW4*/
|
||||
{0, CS5_SW5, CS6_SW5, CS4_SW5}, /* RGB72-Z */
|
||||
{0, CS8_SW5, CS9_SW5, CS7_SW5}, /* RGB73-X */
|
||||
{0, CS11_SW5, CS12_SW5, CS10_SW5}, /* RGB74-C */
|
||||
{0, CS14_SW5, CS15_SW5, CS13_SW5}, /* RGB75-V */
|
||||
{0, CS17_SW5, CS18_SW5, CS16_SW5}, /* RGB76-B */
|
||||
{0, CS20_SW5, CS21_SW5, CS19_SW5}, /* RGB77-N */
|
||||
{0, CS23_SW5, CS24_SW5, CS22_SW5}, /* RGB78-M */
|
||||
{0, CS26_SW5, CS27_SW5, CS25_SW5}, /* RGB79-,< */
|
||||
{0, CS29_SW5, CS30_SW5, CS28_SW5}, /* RGB80->. */
|
||||
{0, CS32_SW5, CS33_SW5, CS31_SW5}, /* RGB81-?/ */
|
||||
{0, CS35_SW5, CS36_SW5, CS34_SW5}, /* RGB82-RSF */
|
||||
{0, CS38_SW5, CS39_SW5, CS37_SW5}, /* RGB83-UP */
|
||||
{0, CS14_SW8, CS15_SW8, CS13_SW8}, /* RGB84-1*/
|
||||
{0, CS17_SW8, CS18_SW8, CS16_SW8}, /* RGB85-2 */
|
||||
{0, CS20_SW8, CS21_SW8, CS19_SW8}, /* RGB86-3 */
|
||||
{0, CS23_SW8, CS24_SW8, CS22_SW8}, /* RGB87-Enter */
|
||||
{0, CS2_SW6, CS3_SW6, CS1_SW6}, /* RGB88-lct-- ROW5*/
|
||||
{0, CS5_SW6, CS6_SW6, CS4_SW6}, /* RGB89-lwin */
|
||||
{0, CS8_SW6, CS9_SW6, CS7_SW6}, /* RGB90-lalt */
|
||||
{0, CS11_SW6, CS12_SW6, CS10_SW6}, /* RGB91-sp0 */
|
||||
{0, CS17_SW6, CS18_SW6, CS16_SW6}, /* RGB92-sp */
|
||||
{0, CS26_SW6, CS27_SW6, CS25_SW6}, /* RGB93-sp2 */
|
||||
{0, CS29_SW6, CS30_SW6, CS28_SW6}, /* RGB94-ralt */
|
||||
{0, CS32_SW6, CS33_SW6, CS31_SW6}, /* RGB95- fn */
|
||||
{0, CS35_SW6, CS36_SW6, CS34_SW6}, /* RGB96-left */
|
||||
{0, CS38_SW6, CS39_SW6, CS37_SW6}, /* RGB97-down */
|
||||
{0, CS11_SW9, CS12_SW9, CS10_SW9}, /* RGB98-right */
|
||||
{0, CS14_SW9, CS15_SW9, CS13_SW9}, /* RGB99- 0 */
|
||||
{0, CS20_SW9, CS21_SW9, CS19_SW9} /* RGB100- . */
|
||||
};
|
||||
|
||||
bool process_record_kb(uint16_t keycode, keyrecord_t* record) {
|
||||
if (record->event.pressed) {
|
||||
switch (keycode) {
|
||||
case QK_KB_0:
|
||||
rgb_matrix_toggle();
|
||||
break;
|
||||
|
||||
case QK_KB_1:
|
||||
rgb_matrix_step();
|
||||
break;
|
||||
|
||||
case QK_KB_2:
|
||||
rgb_matrix_step_reverse();
|
||||
break;
|
||||
|
||||
case QK_KB_3:
|
||||
rgb_matrix_increase_hue(); // Increase the hue for effect range LEDs
|
||||
break;
|
||||
|
||||
case QK_KB_4:
|
||||
rgb_matrix_decrease_hue(); // Decrease the hue for effect range LEDs
|
||||
break;
|
||||
|
||||
case QK_KB_5:
|
||||
rgb_matrix_increase_sat(); // Increase the saturation for effect range LEDs
|
||||
break;
|
||||
|
||||
case QK_KB_6:
|
||||
rgb_matrix_decrease_sat(); // Decrease the saturation for effect range LEDs
|
||||
break;
|
||||
|
||||
case QK_KB_7:
|
||||
rgb_matrix_increase_val(); // Increase the value for effect range LEDs
|
||||
break;
|
||||
|
||||
case QK_KB_8:
|
||||
rgb_matrix_decrease_val(); // Decrease the value for effect range LEDs
|
||||
break;
|
||||
|
||||
case QK_KB_9:
|
||||
rgb_matrix_increase_speed(); // Increase the speed of the animations
|
||||
break;
|
||||
|
||||
case QK_KB_10:
|
||||
rgb_matrix_decrease_speed(); // Decrease the speed of the animations
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
return process_record_user(keycode, record);
|
||||
}
|
||||
#endif
|
||||
|
||||
const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS({0, 3, HSV_WHITE});
|
||||
|
||||
const rgblight_segment_t PROGMEM my_numlock_layer[] = RGBLIGHT_LAYER_SEGMENTS({3, 3, HSV_WHITE});
|
||||
|
||||
const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST(my_capslock_layer, my_numlock_layer);
|
||||
|
||||
void keyboard_post_init_kb(void) {
|
||||
rgblight_layers = my_rgb_layers;
|
||||
keyboard_post_init_user();
|
||||
}
|
||||
|
||||
bool led_update_kb(led_t led_state) {
|
||||
bool res = led_update_user(led_state);
|
||||
if (res) {
|
||||
rgblight_set_layer_state(0, led_state.caps_lock);
|
||||
rgblight_set_layer_state(1, !led_state.num_lock);
|
||||
}
|
||||
return res;
|
||||
}
|
43
keyboards/qwertykeys/qk100/ansi/config.h
Normal file
43
keyboards/qwertykeys/qk100/ansi/config.h
Normal file
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
Copyright 2023 Qwertykeys
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
# define RGBLIGHT_LAYERS
|
||||
# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
|
||||
# define RGBLIGHT_LAYERS_RETAIN_VAL
|
||||
# define RGBLIGHT_DEFAULT_VAL 10
|
||||
# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5
|
||||
# define RGBLIGHT_SLEEP
|
||||
/*== customize breathing effect ==*/
|
||||
# define RGBLIGHT_BREATHE_TABLE_SIZE 128
|
||||
# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.0
|
||||
# define RGBLIGHT_EFFECT_BREATHE_MAX 60
|
||||
|
||||
/* RGB matrix */
|
||||
#define I2C1_CLOCK_SPEED 400000
|
||||
#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
|
||||
# define RGB_MATRIX_DISABLE_KEYCODES
|
||||
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
|
||||
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
# define RGB_MATRIX_LED_PROCESS_LIMIT 4
|
||||
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
|
||||
# define RGB_MATRIX_STARTUP_VAL 128
|
||||
# define DRIVER_ADDR_1 0b0110000
|
||||
# define DRIVER_COUNT 1
|
||||
# define RGB_MATRIX_LED_COUNT 101
|
21
keyboards/qwertykeys/qk100/ansi/halconf.h
Normal file
21
keyboards/qwertykeys/qk100/ansi/halconf.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
/* Copyright 2023 Qwertykeys
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define HAL_USE_I2C TRUE
|
||||
|
||||
#include_next <halconf.h>
|
266
keyboards/qwertykeys/qk100/ansi/info.json
Normal file
266
keyboards/qwertykeys/qk100/ansi/info.json
Normal file
|
@ -0,0 +1,266 @@
|
|||
{
|
||||
"keyboard_name": "QK100 ANSI",
|
||||
"usb": {
|
||||
"pid": "0x3030",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"features": {
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "is31fl3741",
|
||||
"max_brightness": 200,
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x": 0, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 1], "x": 18, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 2], "x": 30, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 3], "x": 42, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 4], "x": 54, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 5], "x": 72, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 6], "x": 84, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 7], "x": 96, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 8], "x": 108, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 9], "x": 126, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 10], "x": 138, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 11], "x": 150, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 12], "x": 162, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 13], "x": 188, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 14], "x": 200, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 15], "x": 212, "y": 0, "flags": 1},
|
||||
{"matrix": [0, 16], "x": 224, "y": 0, "flags": 1},
|
||||
{"matrix": [1, 0], "x": 0, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 1], "x": 12, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 2], "x": 24, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 3], "x": 36, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 4], "x": 48, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 5], "x": 60, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 6], "x": 72, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 7], "x": 84, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 8], "x": 96, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 9], "x": 108, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 10], "x": 120, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 11], "x": 132, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 12], "x": 144, "y": 13, "flags": 4},
|
||||
{"matrix": [1, 13], "x": 156, "y": 13, "flags": 1},
|
||||
{"matrix": [1, 15], "x": 188, "y": 13, "flags": 1},
|
||||
{"matrix": [1, 16], "x": 200, "y": 13, "flags": 1},
|
||||
{"matrix": [1, 17], "x": 212, "y": 13, "flags": 1},
|
||||
{"matrix": [1, 18], "x": 224, "y": 13, "flags": 1},
|
||||
{"matrix": [2, 0], "x": 0, "y": 26, "flags": 1},
|
||||
{"matrix": [2, 1], "x": 18, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 2], "x": 30, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 3], "x": 42, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 4], "x": 54, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 5], "x": 66, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 6], "x": 78, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 7], "x": 90, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 8], "x": 102, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 9], "x": 114, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 10], "x": 126, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 11], "x": 138, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 12], "x": 150, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 13], "x": 162, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 14], "x": 176, "y": 26, "flags": 1},
|
||||
{"matrix": [2, 15], "x": 188, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 16], "x": 200, "y": 26, "flags": 4},
|
||||
{"matrix": [2, 17], "x": 212, "y": 26, "flags": 4},
|
||||
{"matrix": [3, 0], "x": 0, "y": 39, "flags": 1},
|
||||
{"matrix": [3, 1], "x": 20, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 2], "x": 32, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 3], "x": 44, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 4], "x": 56, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 5], "x": 68, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 6], "x": 80, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 7], "x": 92, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 8], "x": 104, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 9], "x": 116, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 10], "x": 128, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 11], "x": 140, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 13], "x": 158, "y": 39, "flags": 1},
|
||||
{"matrix": [3, 14], "x": 176, "y": 39, "flags": 1},
|
||||
{"matrix": [3, 15], "x": 188, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 16], "x": 200, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 17], "x": 212, "y": 39, "flags": 4},
|
||||
{"matrix": [3, 18], "x": 224, "y": 39, "flags": 1},
|
||||
{"matrix": [4, 0], "x": 0, "y": 52, "flags": 1},
|
||||
{"matrix": [4, 1], "x": 26, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 2], "x": 38, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 3], "x": 50, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 4], "x": 62, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 5], "x": 74, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 6], "x": 86, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 7], "x": 98, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 8], "x": 110, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 9], "x": 122, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 10], "x": 134, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 11], "x": 150, "y": 52, "flags": 1},
|
||||
{"matrix": [4, 13], "x": 170, "y": 52, "flags": 1},
|
||||
{"matrix": [4, 15], "x": 188, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 16], "x": 200, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 17], "x": 212, "y": 52, "flags": 4},
|
||||
{"matrix": [4, 18], "x": 224, "y": 52, "flags": 1},
|
||||
{"matrix": [5, 0], "x": 0, "y": 52, "flags": 1},
|
||||
{"matrix": [5, 1], "x": 14, "y": 52, "flags": 1},
|
||||
{"matrix": [5, 2], "x": 28, "y": 52, "flags": 1},
|
||||
{"matrix": [5, 5], "x": 74, "y": 52, "flags": 4},
|
||||
{"matrix": [5, 9], "x": 122, "y": 52, "flags": 1},
|
||||
{"matrix": [5, 10], "x": 148, "y": 52, "flags": 1},
|
||||
{"matrix": [5, 12], "x": 158, "y": 52, "flags": 1},
|
||||
{"matrix": [5, 13], "x": 170, "y": 52, "flags": 1},
|
||||
{"matrix": [5, 14], "x": 182, "y": 52, "flags": 1},
|
||||
{"matrix": [5, 15], "x": 196, "y": 52, "flags": 4},
|
||||
{"matrix": [5, 17], "x": 212, "y": 52, "flags": 4}
|
||||
],
|
||||
"animations": {
|
||||
"solid_color": true,
|
||||
"alphas_mods": true,
|
||||
"gradient_up_down": true,
|
||||
"gradient_left_right": true,
|
||||
"breathing": true,
|
||||
"band_sat": true,
|
||||
"band_val": true,
|
||||
"band_pinwheel_sat": true,
|
||||
"band_pinwheel_val": true,
|
||||
"band_spiral_sat": true,
|
||||
"band_spiral_val": true,
|
||||
"cycle_all": true,
|
||||
"cycle_left_right": true,
|
||||
"cycle_up_down": true,
|
||||
"cycle_out_in": true,
|
||||
"cycle_out_in_dual": true,
|
||||
"rainbow_moving_chevron": true,
|
||||
"cycle_pinwheel": true,
|
||||
"cycle_spiral": true,
|
||||
"dual_beacon": true,
|
||||
"rainbow_beacon": true,
|
||||
"rainbow_pinwheels": true,
|
||||
"raindrops": true,
|
||||
"jellybean_raindrops": true,
|
||||
"hue_breathing": true,
|
||||
"hue_pendulum": true,
|
||||
"hue_wave": true,
|
||||
"pixel_fractal": true,
|
||||
"pixel_flow": true,
|
||||
"pixel_rain": true,
|
||||
"typing_heatmap": true,
|
||||
"digital_rain": true,
|
||||
"solid_reactive_simple": true,
|
||||
"solid_reactive": true,
|
||||
"solid_reactive_wide": true,
|
||||
"solid_reactive_multiwide": true,
|
||||
"solid_reactive_cross": true,
|
||||
"solid_reactive_multicross": true,
|
||||
"solid_reactive_nexus": true,
|
||||
"solid_reactive_multinexus": true,
|
||||
"splash": true,
|
||||
"multisplash": true,
|
||||
"solid_splash": true,
|
||||
"solid_multisplash": true
|
||||
}
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x":0, "y":0},
|
||||
{"matrix": [0, 1], "x":2, "y":0},
|
||||
{"matrix": [0, 2], "x":3, "y":0},
|
||||
{"matrix": [0, 3], "x":4, "y":0},
|
||||
{"matrix": [0, 4], "x":5, "y":0},
|
||||
{"matrix": [0, 5], "x":6.5, "y":0},
|
||||
{"matrix": [0, 6], "x":7.5, "y":0},
|
||||
{"matrix": [0, 7], "x":8.5, "y":0},
|
||||
{"matrix": [0, 8], "x":9.5, "y":0},
|
||||
{"matrix": [0, 9], "x":11, "y":0},
|
||||
{"matrix": [0, 10], "x":12, "y":0},
|
||||
{"matrix": [0, 11], "x":13, "y":0},
|
||||
{"matrix": [0, 12], "x":14, "y":0},
|
||||
{"matrix": [0, 15], "x":16.5, "y":0},
|
||||
{"matrix": [0, 16], "x":17.5, "y":0},
|
||||
{"matrix": [0, 17], "x":18.5, "y":0},
|
||||
{"matrix": [0, 18], "x":19.5, "y":0},
|
||||
{"matrix": [1, 0], "x":0, "y":1.25},
|
||||
{"matrix": [1, 1], "x":1, "y":1.25},
|
||||
{"matrix": [1, 2], "x":2, "y":1.25},
|
||||
{"matrix": [1, 3], "x":3, "y":1.25},
|
||||
{"matrix": [1, 4], "x":4, "y":1.25},
|
||||
{"matrix": [1, 5], "x":5, "y":1.25},
|
||||
{"matrix": [1, 6], "x":6, "y":1.25},
|
||||
{"matrix": [1, 7], "x":7, "y":1.25},
|
||||
{"matrix": [1, 8], "x":8, "y":1.25},
|
||||
{"matrix": [1, 9], "x":9, "y":1.25},
|
||||
{"matrix": [1, 10], "x":10, "y":1.25},
|
||||
{"matrix": [1, 11], "x":11, "y":1.25},
|
||||
{"matrix": [1, 12], "x":12, "y":1.25},
|
||||
{"matrix": [1, 13], "x":13, "y":1.25, "w":2},
|
||||
{"matrix": [1, 15], "x":16.5, "y":1.25},
|
||||
{"matrix": [1, 16], "x":17.5, "y":1.25},
|
||||
{"matrix": [1, 17], "x":18.5, "y":1.25},
|
||||
{"matrix": [1, 18], "x":19.5, "y":1.25},
|
||||
{"matrix": [2, 0], "x":0, "y":2.25, "w":1.5},
|
||||
{"matrix": [2, 1], "x":1.5, "y":2.25},
|
||||
{"matrix": [2, 2], "x":2.5, "y":2.25},
|
||||
{"matrix": [2, 3], "x":3.5, "y":2.25},
|
||||
{"matrix": [2, 4], "x":4.5, "y":2.25},
|
||||
{"matrix": [2, 5], "x":5.5, "y":2.25},
|
||||
{"matrix": [2, 6], "x":6.5, "y":2.25},
|
||||
{"matrix": [2, 7], "x":7.5, "y":2.25},
|
||||
{"matrix": [2, 8], "x":8.5, "y":2.25},
|
||||
{"matrix": [2, 9], "x":9.5, "y":2.25},
|
||||
{"matrix": [2, 10], "x":10.5, "y":2.25},
|
||||
{"matrix": [2, 11], "x":11.5, "y":2.25},
|
||||
{"matrix": [2, 12], "x":12.5, "y":2.25},
|
||||
{"matrix": [2, 13], "x":13.5, "y":2.25, "w":1.5},
|
||||
{"matrix": [2, 14], "x":15.25, "y":2.25},
|
||||
{"matrix": [2, 15], "x":16.5, "y":2.25},
|
||||
{"matrix": [2, 16], "x":17.5, "y":2.25},
|
||||
{"matrix": [2, 17], "x":18.5, "y":2.25},
|
||||
{"matrix": [3, 0], "x":0, "y":3.25, "w":1.75},
|
||||
{"matrix": [3, 1], "x":1.75, "y":3.25},
|
||||
{"matrix": [3, 2], "x":2.75, "y":3.25},
|
||||
{"matrix": [3, 3], "x":3.75, "y":3.25},
|
||||
{"matrix": [3, 4], "x":4.75, "y":3.25},
|
||||
{"matrix": [3, 5], "x":5.75, "y":3.25},
|
||||
{"matrix": [3, 6], "x":6.75, "y":3.25},
|
||||
{"matrix": [3, 7], "x":7.75, "y":3.25},
|
||||
{"matrix": [3, 8], "x":8.75, "y":3.25},
|
||||
{"matrix": [3, 9], "x":9.75, "y":3.25},
|
||||
{"matrix": [3, 10], "x":10.75, "y":3.25},
|
||||
{"matrix": [3, 11], "x":11.75, "y":3.25},
|
||||
{"matrix": [3, 13], "x":12.75, "y":3.25, "w":2.25},
|
||||
{"matrix": [3, 14], "x":15.25, "y":3.25},
|
||||
{"matrix": [3, 15], "x":16.5, "y":3.25},
|
||||
{"matrix": [3, 16], "x":17.5, "y":3.25},
|
||||
{"matrix": [3, 17], "x":18.5, "y":3.25},
|
||||
{"matrix": [3, 18], "x":19.5, "y":2.25, "h":2},
|
||||
{"matrix": [4, 0], "x":0, "y":4.25, "w":2.25},
|
||||
{"matrix": [4, 1], "x":2.25, "y":4.25},
|
||||
{"matrix": [4, 2], "x":3.25, "y":4.25},
|
||||
{"matrix": [4, 3], "x":4.25, "y":4.25},
|
||||
{"matrix": [4, 4], "x":5.25, "y":4.25},
|
||||
{"matrix": [4, 5], "x":6.25, "y":4.25},
|
||||
{"matrix": [4, 6], "x":7.25, "y":4.25},
|
||||
{"matrix": [4, 7], "x":8.25, "y":4.25},
|
||||
{"matrix": [4, 8], "x":9.25, "y":4.25},
|
||||
{"matrix": [4, 9], "x":10.25, "y":4.25},
|
||||
{"matrix": [4, 10], "x":11.25, "y":4.25},
|
||||
{"matrix": [4, 11], "x":12.25, "y":4.25, "w":1.75},
|
||||
{"matrix": [4, 13], "x":14.25, "y":4.5},
|
||||
{"matrix": [4, 15], "x":16.5, "y":4.25},
|
||||
{"matrix": [4, 16], "x":17.5, "y":4.25},
|
||||
{"matrix": [4, 17], "x":18.5, "y":4.25},
|
||||
{"matrix": [4, 18], "x":19.5, "y":4.25, "h":2},
|
||||
{"matrix": [5, 0], "x":0, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 1], "x":1.25, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 2], "x":2.5, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 5], "x":3.75, "y":5.25, "w":6.25},
|
||||
{"matrix": [5, 9], "x":10, "y":5.25, "w":1.5},
|
||||
{"matrix": [5, 10], "x":11.5, "y":5.25, "w":1.5},
|
||||
{"matrix": [5, 12], "x":13.25, "y":5.5},
|
||||
{"matrix": [5, 13], "x":14.25, "y":5.5},
|
||||
{"matrix": [5, 14], "x":15.25, "y":5.5},
|
||||
{"matrix": [5, 15], "x":16.5, "y":5.25, "w":2},
|
||||
{"matrix": [5, 17], "x":18.5, "y":5.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
38
keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c
Normal file
38
keyboards/qwertykeys/qk100/ansi/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
Copyright 2023 Qwertykeys
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME,
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST,KC_PMNS,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
QK_KB_0, QK_KB_1, QK_KB_2, QK_KB_3, QK_KB_4, QK_KB_5, QK_KB_6, QK_KB_7, QK_KB_8, QK_KB_9, QK_KB_10,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
)
|
||||
};
|
38
keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c
Normal file
38
keyboards/qwertykeys/qk100/ansi/keymaps/via/keymap.c
Normal file
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
Copyright 2023 Qwertykeys
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME,
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST,KC_PMNS,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
QK_KB_0, QK_KB_1, QK_KB_2, QK_KB_3, QK_KB_4, QK_KB_5, QK_KB_6, QK_KB_7, QK_KB_8, QK_KB_9, QK_KB_10,KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
)
|
||||
};
|
2
keyboards/qwertykeys/qk100/ansi/keymaps/via/rules.mk
Normal file
2
keyboards/qwertykeys/qk100/ansi/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
25
keyboards/qwertykeys/qk100/ansi/mcuconf.h
Normal file
25
keyboards/qwertykeys/qk100/ansi/mcuconf.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
/* Copyright 2023 Qwertykeys
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include_next <mcuconf.h>
|
||||
|
||||
/*
|
||||
* I2C driver system settings.
|
||||
*/
|
||||
#undef STM32_I2C_USE_I2C1
|
||||
#define STM32_I2C_USE_I2C1 TRUE
|
21
keyboards/qwertykeys/qk100/ansi/readme.md
Normal file
21
keyboards/qwertykeys/qk100/ansi/readme.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# qk100 - ANSI PCB
|
||||
|
||||
![qk100](https://i.imgur.com/im0iArYh.jpg)
|
||||
|
||||
A 100% made by Qwertykeys.
|
||||
|
||||
* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git)
|
||||
* Hardware Supported: qk100 ANSI PCB
|
||||
* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/qRwKr7mW1oWy
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make qwertykeys/qk100/ansi:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make qwertykeys/qk100/ansi:default:flash
|
||||
|
||||
**Bootloader:** Press the button B on PCB while plugging in the board.
|
||||
|
||||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
|
1
keyboards/qwertykeys/qk100/ansi/rules.mk
Normal file
1
keyboards/qwertykeys/qk100/ansi/rules.mk
Normal file
|
@ -0,0 +1 @@
|
|||
# This file intentionally left blank
|
43
keyboards/qwertykeys/qk100/info.json
Normal file
43
keyboards/qwertykeys/qk100/info.json
Normal file
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"manufacturer": "Qwertykeys",
|
||||
"url": "",
|
||||
"maintainer": "Qwertykeys",
|
||||
"usb": {
|
||||
"vid": "0x4F53"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "A15", "B4", "B5", "B8", "B9", "C13" ],
|
||||
"rows": ["A1", "A2", "A3", "A5", "A4", "A6" ]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"rgblight": true,
|
||||
"nkro": true
|
||||
},
|
||||
"processor": "STM32F103",
|
||||
"bootloader": "stm32duino",
|
||||
"ws2812": {
|
||||
"pin": "B3"
|
||||
},
|
||||
"rgblight": {
|
||||
"animations": {
|
||||
"breathing": true,
|
||||
"knight": true,
|
||||
"rainbow_mood": true,
|
||||
"rainbow_swirl": true,
|
||||
"snake": true,
|
||||
"static_gradient": true
|
||||
},
|
||||
"brightness_steps": 10,
|
||||
"saturation_steps": 8,
|
||||
"led_count": 6,
|
||||
"max_brightness": 120
|
||||
|
||||
},
|
||||
"dynamic_keymap": {
|
||||
"layer_count": 2
|
||||
}
|
||||
}
|
29
keyboards/qwertykeys/qk100/solder/config.h
Normal file
29
keyboards/qwertykeys/qk100/solder/config.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
/*
|
||||
Copyright 2023 Qwertykeys
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
# define RGBLIGHT_LAYERS
|
||||
# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
|
||||
# define RGBLIGHT_LAYERS_RETAIN_VAL
|
||||
# define RGBLIGHT_DEFAULT_VAL 10
|
||||
# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 5
|
||||
# define RGBLIGHT_SLEEP
|
||||
/*== customize breathing effect ==*/
|
||||
# define RGBLIGHT_BREATHE_TABLE_SIZE 128
|
||||
# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.0
|
||||
# define RGBLIGHT_EFFECT_BREATHE_MAX 60
|
114
keyboards/qwertykeys/qk100/solder/info.json
Normal file
114
keyboards/qwertykeys/qk100/solder/info.json
Normal file
|
@ -0,0 +1,114 @@
|
|||
{
|
||||
"keyboard_name": "qk100 Solder",
|
||||
"usb": {
|
||||
"pid": "0x3053",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [0, 0], "x":0, "y":0},
|
||||
{"matrix": [0, 1], "x":2, "y":0},
|
||||
{"matrix": [0, 2], "x":3, "y":0},
|
||||
{"matrix": [0, 3], "x":4, "y":0},
|
||||
{"matrix": [0, 4], "x":5, "y":0},
|
||||
{"matrix": [0, 5], "x":6.5, "y":0},
|
||||
{"matrix": [0, 6], "x":7.5, "y":0},
|
||||
{"matrix": [0, 7], "x":8.5, "y":0},
|
||||
{"matrix": [0, 8], "x":9.5, "y":0},
|
||||
{"matrix": [0, 9], "x":11, "y":0},
|
||||
{"matrix": [0, 10], "x":12, "y":0},
|
||||
{"matrix": [0, 11], "x":13, "y":0},
|
||||
{"matrix": [0, 12], "x":14, "y":0},
|
||||
{"matrix": [0, 15], "x":16.5, "y":0},
|
||||
{"matrix": [0, 16], "x":17.5, "y":0},
|
||||
{"matrix": [0, 17], "x":18.5, "y":0},
|
||||
{"matrix": [0, 18], "x":19.5, "y":0},
|
||||
{"matrix": [1, 0], "x":0, "y":1.25},
|
||||
{"matrix": [1, 1], "x":1, "y":1.25},
|
||||
{"matrix": [1, 2], "x":2, "y":1.25},
|
||||
{"matrix": [1, 3], "x":3, "y":1.25},
|
||||
{"matrix": [1, 4], "x":4, "y":1.25},
|
||||
{"matrix": [1, 5], "x":5, "y":1.25},
|
||||
{"matrix": [1, 6], "x":6, "y":1.25},
|
||||
{"matrix": [1, 7], "x":7, "y":1.25},
|
||||
{"matrix": [1, 8], "x":8, "y":1.25},
|
||||
{"matrix": [1, 9], "x":9, "y":1.25},
|
||||
{"matrix": [1, 10], "x":10, "y":1.25},
|
||||
{"matrix": [1, 11], "x":11, "y":1.25},
|
||||
{"matrix": [1, 12], "x":12, "y":1.25},
|
||||
{"matrix": [2, 13], "x":13, "y":1.25},
|
||||
{"matrix": [1, 13], "x":14, "y":1.25},
|
||||
{"matrix": [1, 15], "x":16.5, "y":1.25},
|
||||
{"matrix": [1, 16], "x":17.5, "y":1.25},
|
||||
{"matrix": [1, 17], "x":18.5, "y":1.25},
|
||||
{"matrix": [1, 18], "x":19.5, "y":1.25},
|
||||
{"matrix": [2, 0], "x":0, "y":2.25, "w":1.5},
|
||||
{"matrix": [2, 1], "x":1.5, "y":2.25},
|
||||
{"matrix": [2, 2], "x":2.5, "y":2.25},
|
||||
{"matrix": [2, 3], "x":3.5, "y":2.25},
|
||||
{"matrix": [2, 4], "x":4.5, "y":2.25},
|
||||
{"matrix": [2, 5], "x":5.5, "y":2.25},
|
||||
{"matrix": [2, 6], "x":6.5, "y":2.25},
|
||||
{"matrix": [2, 7], "x":7.5, "y":2.25},
|
||||
{"matrix": [2, 8], "x":8.5, "y":2.25},
|
||||
{"matrix": [2, 9], "x":9.5, "y":2.25},
|
||||
{"matrix": [2, 10], "x":10.5, "y":2.25},
|
||||
{"matrix": [2, 11], "x":11.5, "y":2.25},
|
||||
{"matrix": [2, 12], "x":12.5, "y":2.25},
|
||||
{"matrix": [3, 12], "x":13.5, "y":2.25, "w":1.5},
|
||||
{"matrix": [2, 14], "x":15.25, "y":2.25},
|
||||
{"matrix": [2, 15], "x":16.5, "y":2.25},
|
||||
{"matrix": [2, 16], "x":17.5, "y":2.25},
|
||||
{"matrix": [2, 17], "x":18.5, "y":2.25},
|
||||
{"matrix": [3, 0], "x":0, "y":3.25, "w":1.75},
|
||||
{"matrix": [3, 1], "x":1.75, "y":3.25},
|
||||
{"matrix": [3, 2], "x":2.75, "y":3.25},
|
||||
{"matrix": [3, 3], "x":3.75, "y":3.25},
|
||||
{"matrix": [3, 4], "x":4.75, "y":3.25},
|
||||
{"matrix": [3, 5], "x":5.75, "y":3.25},
|
||||
{"matrix": [3, 6], "x":6.75, "y":3.25},
|
||||
{"matrix": [3, 7], "x":7.75, "y":3.25},
|
||||
{"matrix": [3, 8], "x":8.75, "y":3.25},
|
||||
{"matrix": [3, 9], "x":9.75, "y":3.25},
|
||||
{"matrix": [3, 10], "x":10.75, "y":3.25},
|
||||
{"matrix": [3, 11], "x":11.75, "y":3.25},
|
||||
{"matrix": [3, 13], "x":12.75, "y":3.25, "w":2.25},
|
||||
{"matrix": [3, 14], "x":15.25, "y":3.25},
|
||||
{"matrix": [3, 15], "x":16.5, "y":3.25},
|
||||
{"matrix": [3, 16], "x":17.5, "y":3.25},
|
||||
{"matrix": [3, 17], "x":18.5, "y":3.25},
|
||||
{"matrix": [3, 18], "x":19.5, "y":2.25, "h":2},
|
||||
{"matrix": [4, 0], "x":0, "y":4.25, "w":1.25},
|
||||
{"matrix": [5, 3], "x":1.25, "y":4.25},
|
||||
{"matrix": [4, 1], "x":2.25, "y":4.25},
|
||||
{"matrix": [4, 2], "x":3.25, "y":4.25},
|
||||
{"matrix": [4, 3], "x":4.25, "y":4.25},
|
||||
{"matrix": [4, 4], "x":5.25, "y":4.25},
|
||||
{"matrix": [4, 5], "x":6.25, "y":4.25},
|
||||
{"matrix": [4, 6], "x":7.25, "y":4.25},
|
||||
{"matrix": [4, 7], "x":8.25, "y":4.25},
|
||||
{"matrix": [4, 8], "x":9.25, "y":4.25},
|
||||
{"matrix": [4, 9], "x":10.25, "y":4.25},
|
||||
{"matrix": [4, 10], "x":11.25, "y":4.25},
|
||||
{"matrix": [4, 11], "x":12.25, "y":4.25, "w":1.75},
|
||||
{"matrix": [4, 13], "x":14.25, "y":4.5},
|
||||
{"matrix": [4, 15], "x":16.5, "y":4.25},
|
||||
{"matrix": [4, 16], "x":17.5, "y":4.25},
|
||||
{"matrix": [4, 17], "x":18.5, "y":4.25},
|
||||
{"matrix": [4, 18], "x":19.5, "y":4.25, "h":2},
|
||||
{"matrix": [5, 0], "x":0, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 1], "x":1.25, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 2], "x":2.5, "y":5.25, "w":1.25},
|
||||
{"matrix": [5, 5], "x":3.75, "y":5.25, "w":6.25},
|
||||
{"matrix": [5, 9], "x":10, "y":5.25, "w":1.5},
|
||||
{"matrix": [5, 10], "x":11.5, "y":5.25, "w":1.5},
|
||||
{"matrix": [5, 12], "x":13.25, "y":5.5},
|
||||
{"matrix": [5, 13], "x":14.25, "y":5.5},
|
||||
{"matrix": [5, 14], "x":15.25, "y":5.5},
|
||||
{"matrix": [5, 15], "x":16.5, "y":5.25, "w":2},
|
||||
{"matrix": [5, 17], "x":18.5, "y":5.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
38
keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c
Normal file
38
keyboards/qwertykeys/qk100/solder/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
Copyright 2023 Qwertykeys
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME,
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
)
|
||||
};
|
38
keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c
Normal file
38
keyboards/qwertykeys/qk100/solder/keymaps/via/keymap.c
Normal file
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
Copyright 2023 Qwertykeys
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT(
|
||||
KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_END, KC_INS, KC_HOME,
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_BSPC, KC_NUM, KC_PSLS, KC_PAST, KC_PMNS,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGUP, KC_P7, KC_P8, KC_P9,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGDN, KC_P4, KC_P5, KC_P6, KC_PPLS,
|
||||
KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT,KC_P0, KC_PDOT
|
||||
),
|
||||
[1] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, NK_TOGG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, RGB_TOG, RGB_MOD, RGB_RMOD,RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAD, RGB_VAI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||
)
|
||||
};
|
2
keyboards/qwertykeys/qk100/solder/keymaps/via/rules.mk
Normal file
2
keyboards/qwertykeys/qk100/solder/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
21
keyboards/qwertykeys/qk100/solder/readme.md
Normal file
21
keyboards/qwertykeys/qk100/solder/readme.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
# qk100 - Solder PCB
|
||||
|
||||
![qk100](https://i.imgur.com/im0iArYh.jpg)
|
||||
|
||||
A 100% made by Qwertykeys.
|
||||
|
||||
* Keyboard Maintainer: [Qwertykeys](https://github.com/owlab-git)
|
||||
* Hardware Supported: qk100 Solder PCB
|
||||
* Hardware Availability: Ended groupbuy: https://www.zfrontier.com/app/flow/qRwKr7mW1oWy
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make qwertykeys/qk100/solder:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make qwertykeys/qk100/solder:default:flash
|
||||
|
||||
**Bootloader:** Press the button B on PCB while plugging in the board.
|
||||
|
||||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
|
1
keyboards/qwertykeys/qk100/solder/rules.mk
Normal file
1
keyboards/qwertykeys/qk100/solder/rules.mk
Normal file
|
@ -0,0 +1 @@
|
|||
# This file intentionally left blank
|
37
keyboards/qwertykeys/qk100/solder/solder.c
Normal file
37
keyboards/qwertykeys/qk100/solder/solder.c
Normal file
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
Copyright 2023 Qwertykeys
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "quantum.h"
|
||||
|
||||
const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS({0, 3, HSV_WHITE});
|
||||
|
||||
const rgblight_segment_t PROGMEM my_numlock_layer[] = RGBLIGHT_LAYER_SEGMENTS({3, 3, HSV_WHITE});
|
||||
|
||||
const rgblight_segment_t* const PROGMEM my_rgb_layers[] = RGBLIGHT_LAYERS_LIST(my_capslock_layer, my_numlock_layer);
|
||||
|
||||
void keyboard_post_init_kb(void) {
|
||||
rgblight_layers = my_rgb_layers;
|
||||
keyboard_post_init_user();
|
||||
}
|
||||
|
||||
bool led_update_kb(led_t led_state) {
|
||||
bool res = led_update_user(led_state);
|
||||
if (res) {
|
||||
rgblight_set_layer_state(0, led_state.caps_lock);
|
||||
rgblight_set_layer_state(1, !led_state.num_lock);
|
||||
}
|
||||
return res;
|
||||
}
|
Loading…
Reference in a new issue