mirror of
https://github.com/qmk/qmk_firmware
synced 2025-01-06 15:01:39 +00:00
Compare commits
89 Commits
0.27.3
...
68eeb200f3
Author | SHA1 | Date | |
---|---|---|---|
|
68eeb200f3 | ||
|
d5a0424987 | ||
|
1e6eb5e35c | ||
|
57f89e5388 | ||
|
4d182ec117 | ||
|
53680fa6da | ||
|
08c1c045f9 | ||
|
fe2200f73a | ||
|
efcd6187d1 | ||
|
fd0a552fc1 | ||
|
92534d8e3d | ||
|
f549948bbd | ||
|
4d3d8887e7 | ||
|
5593e73ba7 | ||
|
93de533580 | ||
|
fc4d9c63fb | ||
|
8037c7332c | ||
|
1741901281 | ||
|
38eb643a82 | ||
|
b78bf7ec43 | ||
|
a09f9bbb41 | ||
|
c65dd3ba50 | ||
|
d3585110a3 | ||
|
1ed3878d15 | ||
|
b4ece24c7d | ||
|
5c1c4874d7 | ||
|
32ea7025fb | ||
|
5f0ffd2704 | ||
|
24e2466de3 | ||
|
2c6a37021c | ||
|
dbc5bc4f8f | ||
|
10cdcbd057 | ||
|
d3c9dff9d2 | ||
|
0f3993b9a3 | ||
|
8e6bfbfdc2 | ||
|
be6ff3af2b | ||
|
cb7608b9e2 | ||
|
31631537d5 | ||
|
77fb523fa5 | ||
|
ad9efdaf0e | ||
|
e1351b4f4b | ||
|
76ac62c326 | ||
|
56f4ba366e | ||
|
0228806ae8 | ||
|
1b5ae7aa71 | ||
|
c7c91700b8 | ||
|
af53c13d53 | ||
|
86f8694580 | ||
|
a683f10bff | ||
|
68f67e23aa | ||
|
001e190935 | ||
|
e3000fabb7 | ||
|
98291bc281 | ||
|
55ea94832c | ||
|
f4dc0c33cc | ||
|
daf4746da7 | ||
|
e64adcef7e | ||
|
6992401770 | ||
|
3d3f14044a | ||
|
094933f002 | ||
|
25da6bc359 | ||
|
b6192ef8a0 | ||
|
176aa00abb | ||
|
fefb4180aa | ||
|
0196298b10 | ||
|
d44fe48a55 | ||
|
6f2c032459 | ||
|
2d5d3ac959 | ||
|
7858f84366 | ||
|
384e42cb23 | ||
|
22849a59d4 | ||
|
750a3f1e60 | ||
|
777ae4fb8d | ||
|
97870b27a1 | ||
|
0c176f6123 | ||
|
93a0dd46de | ||
|
b3a1dc0658 | ||
|
2bfc0e07d1 | ||
|
b599c78548 | ||
|
fa96609e0b | ||
|
1d5de078c7 | ||
|
aa9e48dae2 | ||
|
df9bf9efa1 | ||
|
5b827356bb | ||
|
0ae7639f6c | ||
|
50491c44ca | ||
|
653d1a5e37 | ||
|
b0ac5bcf91 | ||
|
f8ba76a771 |
@ -930,6 +930,27 @@ ifeq ($(strip $(DIP_SWITCH_ENABLE)), yes)
|
||||
endif
|
||||
endif
|
||||
|
||||
VALID_BATTERY_DRIVER_TYPES := adc custom
|
||||
|
||||
BATTERY_DRIVER ?= adc
|
||||
ifeq ($(strip $(BATTERY_DRIVER_REQUIRED)), yes)
|
||||
ifeq ($(filter $(BATTERY_DRIVER),$(VALID_BATTERY_DRIVER_TYPES)),)
|
||||
$(call CATASTROPHIC_ERROR,Invalid BATTERY_DRIVER,BATTERY_DRIVER="$(BATTERY_DRIVER)" is not a valid battery driver)
|
||||
endif
|
||||
|
||||
OPT_DEFS += -DBATTERY_DRIVER
|
||||
OPT_DEFS += -DBATTERY_$(strip $(shell echo $(BATTERY_DRIVER) | tr '[:lower:]' '[:upper:]'))
|
||||
|
||||
COMMON_VPATH += $(DRIVER_PATH)/battery
|
||||
|
||||
SRC += battery_$(strip $(BATTERY_DRIVER)).c
|
||||
|
||||
# add extra deps
|
||||
ifeq ($(strip $(BATTERY_DRIVER)), adc)
|
||||
ANALOG_DRIVER_REQUIRED = yes
|
||||
endif
|
||||
endif
|
||||
|
||||
VALID_WS2812_DRIVER_TYPES := bitbang custom i2c pwm spi vendor
|
||||
|
||||
WS2812_DRIVER ?= bitbang
|
||||
|
596
data/constants/keycodes/extras/keycodes_eurkey_0.0.1.hjson
Normal file
596
data/constants/keycodes/extras/keycodes_eurkey_0.0.1.hjson
Normal file
File diff suppressed because it is too large
Load Diff
@ -527,7 +527,7 @@
|
||||
"key": "FA_PIPE",
|
||||
"label": "|",
|
||||
}
|
||||
"ALGR(FA_RA)": {
|
||||
"ALGR(FA_RE)": {
|
||||
"key": "FA_SUBA",
|
||||
"label": "ٖ",
|
||||
}
|
||||
|
@ -140,6 +140,9 @@
|
||||
"custommk/genesis": {
|
||||
"target": "custommk/genesis/rev1"
|
||||
},
|
||||
"cxt_studio":{
|
||||
"target":"cxt_studio/12e4"
|
||||
},
|
||||
"daisy": {
|
||||
"target": "ktec/daisy"
|
||||
},
|
||||
@ -1515,6 +1518,9 @@
|
||||
"ymd96": {
|
||||
"target": "ymdk/ymd96"
|
||||
},
|
||||
"ymdk/id75": {
|
||||
"target": "ymdk/id75/f103"
|
||||
},
|
||||
"ymdk_np21": {
|
||||
"target": "ymdk/np21"
|
||||
},
|
||||
|
@ -55,6 +55,7 @@ These headers are located in [`quantum/keymap_extras/`](https://github.com/qmk/q
|
||||
|English (US International) |`keymap_us_international.h` |`sendstring_us_international.h` |
|
||||
|English (US International, Linux)|`keymap_us_international_linux.h`| |
|
||||
|Estonian |`keymap_estonian.h` |`sendstring_estonian.h` |
|
||||
|EurKEY |`keymap_eurkey.h` | |
|
||||
|Farsi |`keymap_farsi.h` | |
|
||||
|Finnish |`keymap_finnish.h` |`sendstring_finnish.h` |
|
||||
|French |`keymap_french.h` |`sendstring_french.h` |
|
||||
|
10
drivers/battery/battery.h
Normal file
10
drivers/battery/battery.h
Normal file
@ -0,0 +1,10 @@
|
||||
// Copyright 2024 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void battery_init(void);
|
||||
|
||||
uint8_t battery_get_percent(void);
|
59
drivers/battery/battery_adc.c
Normal file
59
drivers/battery/battery_adc.c
Normal file
@ -0,0 +1,59 @@
|
||||
// Copyright 2024 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include "analog.h"
|
||||
#include "gpio.h"
|
||||
|
||||
#ifndef BATTERY_PIN
|
||||
# error("BATTERY_PIN not configured!")
|
||||
#endif
|
||||
|
||||
#ifndef BATTERY_REF_VOLTAGE_MV
|
||||
# define BATTERY_REF_VOLTAGE_MV 3300
|
||||
#endif
|
||||
|
||||
#ifndef BATTERY_VOLTAGE_DIVIDER_R1
|
||||
# define BATTERY_VOLTAGE_DIVIDER_R1 100000
|
||||
#endif
|
||||
|
||||
#ifndef BATTERY_VOLTAGE_DIVIDER_R2
|
||||
# define BATTERY_VOLTAGE_DIVIDER_R2 100000
|
||||
#endif
|
||||
|
||||
// TODO: infer from adc config?
|
||||
#ifndef BATTERY_ADC_RESOLUTION
|
||||
# define BATTERY_ADC_RESOLUTION 10
|
||||
#endif
|
||||
|
||||
void battery_init(void) {
|
||||
gpio_set_pin_input(BATTERY_PIN);
|
||||
}
|
||||
|
||||
__attribute__((weak)) uint16_t battery_raw_to_mv(uint32_t raw) {
|
||||
uint32_t bat_mv = raw * BATTERY_REF_VOLTAGE_MV / (1 << BATTERY_ADC_RESOLUTION);
|
||||
|
||||
#if BATTERY_VOLTAGE_DIVIDER_R1 > 0 && BATTERY_VOLTAGE_DIVIDER_R2 > 0
|
||||
bat_mv = bat_mv * (BATTERY_VOLTAGE_DIVIDER_R1 + BATTERY_VOLTAGE_DIVIDER_R2) / BATTERY_VOLTAGE_DIVIDER_R2;
|
||||
#endif
|
||||
|
||||
return bat_mv;
|
||||
}
|
||||
|
||||
__attribute__((weak)) uint8_t battery_mv_to_percent(uint16_t bat_mv) {
|
||||
// https://github.com/zmkfirmware/zmk/blob/3f7c9d7cc4f46617faad288421025ea2a6b0bd28/app/module/drivers/sensor/battery/battery_common.c#L33
|
||||
if (bat_mv >= 4200) {
|
||||
return 100;
|
||||
} else if (bat_mv <= 3450) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return bat_mv * 2 / 15 - 459;
|
||||
}
|
||||
|
||||
uint8_t battery_get_percent(void) {
|
||||
uint16_t raw = analogReadPin(BATTERY_PIN);
|
||||
|
||||
uint16_t bat_mv = battery_raw_to_mv(raw);
|
||||
|
||||
return battery_mv_to_percent(bat_mv);
|
||||
}
|
8
keyboards/chill/ghoul/chconf.h
Normal file
8
keyboards/chill/ghoul/chconf.h
Normal file
@ -0,0 +1,8 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define CH_CFG_ST_RESOLUTION 16
|
||||
#define CH_CFG_ST_FREQUENCY 10000
|
||||
|
||||
#include_next <chconf.h>
|
7
keyboards/chill/ghoul/config.h
Normal file
7
keyboards/chill/ghoul/config.h
Normal file
@ -0,0 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD2
|
||||
#define BACKLIGHT_PWM_CHANNEL 2
|
||||
#define BACKLIGHT_PAL_MODE 2
|
7
keyboards/chill/ghoul/halconf.h
Normal file
7
keyboards/chill/ghoul/halconf.h
Normal file
@ -0,0 +1,7 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#define HAL_USE_PWM TRUE
|
||||
|
||||
#include_next <halconf.h>
|
408
keyboards/chill/ghoul/keyboard.json
Normal file
408
keyboards/chill/ghoul/keyboard.json
Normal file
File diff suppressed because it is too large
Load Diff
24
keyboards/chill/ghoul/keymaps/default/keymap.c
Normal file
24
keyboards/chill/ghoul/keymaps/default/keymap.c
Normal file
@ -0,0 +1,24 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT_all(
|
||||
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_PSCR, KC_SCRL, KC_PAUS,
|
||||
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_BSPC, KC_INS, KC_HOME, KC_PGUP,
|
||||
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_DEL, KC_END, KC_PGDN,
|
||||
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_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), KC_UP,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, MO(1), KC_RGUI, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
|
||||
),
|
||||
|
||||
[1] = LAYOUT_all(
|
||||
_______, KC_VOLU, KC_VOLD, KC_MUTE, _______, KC_MPRV, KC_MPLY, KC_MSTP, KC_MNXT, _______, _______, _______, KC_SLEP, _______, _______, _______,
|
||||
BL_TOGG, BL_UP, BL_DOWN, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
|
||||
)
|
||||
};
|
11
keyboards/chill/ghoul/mcuconf.h
Normal file
11
keyboards/chill/ghoul/mcuconf.h
Normal file
@ -0,0 +1,11 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include_next <mcuconf.h>
|
||||
|
||||
#undef STM32_PWM_USE_TIM2
|
||||
#define STM32_PWM_USE_TIM2 TRUE
|
||||
|
||||
#undef STM32_ST_USE_TIMER
|
||||
#define STM32_ST_USE_TIMER 14
|
27
keyboards/chill/ghoul/readme.md
Normal file
27
keyboards/chill/ghoul/readme.md
Normal file
@ -0,0 +1,27 @@
|
||||
# Ghoul TKL
|
||||
|
||||
![image](https://i.imgur.com/Y39mNA4.jpeg)
|
||||
|
||||
A modern replacement PCB for Filco TKLs, adding support for PCB-mount stabilizers and popular alternate layouts. In-switch backlight LEDs are also supported.
|
||||
|
||||
* Keyboard Maintainer: [chillKB](https://github.com/chillKB)
|
||||
* Hardware Supported: Ghoul TKL PCB
|
||||
* Hardware Availability: [Open source on GitHub](https://github.com/chillKB/ghoulTKL)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make chill/ghoul:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make chill/ghoul:default:flash
|
||||
|
||||
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).
|
||||
|
||||
## Bootloader
|
||||
|
||||
Enter the bootloader in 3 ways:
|
||||
|
||||
* **Bootmagic reset**: Hold down the top left key (usually Escape) and plug in the keyboard
|
||||
* **Physical reset button**: Hold the boot button and tap the reset button on the back of the PCB
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
6
keyboards/cxt_studio/12e4/config.h
Normal file
6
keyboards/cxt_studio/12e4/config.h
Normal file
@ -0,0 +1,6 @@
|
||||
// Copyright 2023 Colin Kinloch (@ColinKinloch)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGB_MATRIX_TYPING_HEATMAP_SPREAD 9
|
@ -3,8 +3,6 @@
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
static uint8_t anim = 0;
|
||||
|
||||
#ifdef ENCODER_ENABLE
|
||||
bool encoder_update_kb(uint8_t index, bool clockwise) {
|
||||
if (!encoder_update_user(index, clockwise)) {
|
||||
@ -21,32 +19,26 @@ bool encoder_update_kb(uint8_t index, bool clockwise) {
|
||||
break;
|
||||
case 1: {
|
||||
if (clockwise) {
|
||||
rgblight_increase_hue();
|
||||
rgb_matrix_increase_hue();
|
||||
} else {
|
||||
rgblight_decrease_hue();
|
||||
rgb_matrix_decrease_hue();
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 2: {
|
||||
if (clockwise) {
|
||||
rgblight_increase_val();
|
||||
rgb_matrix_increase_val();
|
||||
} else {
|
||||
rgblight_decrease_val();
|
||||
rgb_matrix_decrease_val();
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 3: {
|
||||
if (clockwise) {
|
||||
anim++;
|
||||
rgb_matrix_step();
|
||||
} else {
|
||||
anim--;
|
||||
rgb_matrix_step_reverse();
|
||||
}
|
||||
if (anim >= RGB_MATRIX_EFFECT_MAX) {
|
||||
anim = 0;
|
||||
} else if (anim < 0) {
|
||||
anim = RGB_MATRIX_EFFECT_MAX - 1;
|
||||
}
|
||||
rgblight_mode(anim);
|
||||
}
|
||||
break;
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"manufacturer": "CXT",
|
||||
"keyboard_name": "cxt_studio",
|
||||
"keyboard_name": "cxt_studio 12E4",
|
||||
"maintainer": "ColinKinloch",
|
||||
"bootloader": "atmel-dfu",
|
||||
"diode_direction": "ROW2COL",
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"keyboard": "cxt_studio",
|
||||
"keyboard": "cxt_studio/12e4",
|
||||
"keymap": "default",
|
||||
"layout": "LAYOUT",
|
||||
"layers": [
|
@ -1,20 +1,20 @@
|
||||
# cxt_studio
|
||||
# cxt_studio/12e4
|
||||
|
||||
![cxt_studio](https://i.imgur.com/AMCTioSh.jpeg)
|
||||
![cxt_studio/12e4](https://i.imgur.com/AMCTioSh.jpeg)
|
||||
|
||||
3x4 ortho rgb lighting 4 knobs.
|
||||
|
||||
* Keyboard Maintainer: [Colin Kinloch](https://github.com/ColinKinloch)
|
||||
* Hardware Supported: CXT-Studio
|
||||
* Hardware Supported: CXT-Studio/12E4
|
||||
* Hardware Availability: AliExpress. I think the manufacturer is on Taobao.
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make cxt_studio:default
|
||||
make cxt_studio/12e4:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make cxt_studio:default:flash
|
||||
make cxt_studio/12e4:default:flash
|
||||
|
||||
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,22 +0,0 @@
|
||||
// Copyright 2023 Colin Kinloch (@ColinKinloch)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#define RGB_MATRIX_TYPING_HEATMAP_SPREAD 9
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
6
keyboards/handwired/onekey/keymaps/battery/config.h
Normal file
6
keyboards/handwired/onekey/keymaps/battery/config.h
Normal file
@ -0,0 +1,6 @@
|
||||
// Copyright 2024 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#define BATTERY_PIN ADC_PIN
|
28
keyboards/handwired/onekey/keymaps/battery/keymap.c
Normal file
28
keyboards/handwired/onekey/keymaps/battery/keymap.c
Normal file
@ -0,0 +1,28 @@
|
||||
// Copyright 2024 QMK
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include "battery.h"
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
LAYOUT_ortho_1x1(KC_A)
|
||||
};
|
||||
|
||||
void keyboard_post_init_user(void) {
|
||||
// Customise these values to desired behaviour
|
||||
debug_enable=true;
|
||||
// debug_matrix=false;
|
||||
// debug_keyboard=true;
|
||||
// debug_mouse=false;
|
||||
|
||||
battery_init();
|
||||
}
|
||||
|
||||
void housekeeping_task_user(void) {
|
||||
static uint32_t last = 0;
|
||||
if (timer_elapsed32(last) > 2000) {
|
||||
uprintf("Bat: %d!\n", battery_get_percent());
|
||||
|
||||
last = timer_read32();
|
||||
}
|
||||
}
|
7
keyboards/handwired/onekey/keymaps/battery/keymap.json
Normal file
7
keyboards/handwired/onekey/keymaps/battery/keymap.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"config": {
|
||||
"features": {
|
||||
"console": true
|
||||
}
|
||||
}
|
||||
}
|
1
keyboards/handwired/onekey/keymaps/battery/rules.mk
Normal file
1
keyboards/handwired/onekey/keymaps/battery/rules.mk
Normal file
@ -0,0 +1 @@
|
||||
BATTERY_DRIVER_REQUIRED = yes
|
@ -119,8 +119,7 @@
|
||||
"solid_reactive_multinexus": true,
|
||||
"solid_splash": true,
|
||||
"wave_left_right": true,
|
||||
"wave_up_down": true,
|
||||
"effect_max": true
|
||||
"wave_up_down": true
|
||||
},
|
||||
"layout": [
|
||||
{"matrix":[0, 0], "flags":1, "x":0, "y":0},
|
||||
|
@ -136,8 +136,7 @@
|
||||
"solid_reactive_multinexus": true,
|
||||
"solid_splash": true,
|
||||
"wave_left_right": true,
|
||||
"wave_up_down": true,
|
||||
"effect_max": true
|
||||
"wave_up_down": true
|
||||
},
|
||||
"layout": [
|
||||
{"matrix":[0, 0], "flags":1, "x":0, "y":0},
|
||||
|
@ -73,8 +73,8 @@
|
||||
{"matrix": [1, 3], "x":3.5, "y":1},
|
||||
{"matrix": [1, 4], "x":4.5, "y":1},
|
||||
{"matrix": [1, 5], "x":5.5, "y":1},
|
||||
{"matrix": [1, 6], "x":6.5, "y":1, "h":1.5},
|
||||
{"matrix": [1, 7], "x":7.5, "y":1, "h":1.5},
|
||||
{"matrix": [1, 6], "x":6.5, "y":1},
|
||||
{"matrix": [1, 7], "x":7.5, "y":1},
|
||||
{"matrix": [1, 8], "x":8.5, "y":1},
|
||||
{"matrix": [1, 9], "x":9.5, "y":1},
|
||||
{"matrix": [1, 10], "x":10.5, "y":1},
|
||||
@ -88,6 +88,8 @@
|
||||
{"matrix": [2, 3], "x":3.5, "y":2},
|
||||
{"matrix": [2, 4], "x":4.5, "y":2},
|
||||
{"matrix": [2, 5], "x":5.5, "y":2},
|
||||
{"matrix": [2, 6], "x":6.5, "y":2},
|
||||
{"matrix": [2, 7], "x":7.5, "y":2},
|
||||
{"matrix": [2, 8], "x":8.5, "y":2},
|
||||
{"matrix": [2, 9], "x":9.5, "y":2},
|
||||
{"matrix": [2, 10], "x":10.5, "y":2},
|
||||
@ -101,8 +103,8 @@
|
||||
{"matrix": [3, 3], "x":3.5, "y":3},
|
||||
{"matrix": [3, 4], "x":4.5, "y":3},
|
||||
{"matrix": [3, 5], "x":5.5, "y":3},
|
||||
{"matrix": [3, 6], "x":6.5, "y":2.5, "h":1.5},
|
||||
{"matrix": [3, 7], "x":7.5, "y":2.5, "h":1.5},
|
||||
{"matrix": [3, 6], "x":6.5, "y":3},
|
||||
{"matrix": [3, 7], "x":7.5, "y":3},
|
||||
{"matrix": [3, 8], "x":8.5, "y":3},
|
||||
{"matrix": [3, 9], "x":9.5, "y":3},
|
||||
{"matrix": [3, 10], "x":10.5, "y":3},
|
||||
|
@ -26,19 +26,19 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
* .-----------------------------------------------------------------------------------------------------------------------------.
|
||||
* | ESC | 1 | 2 | 3 | 4 | 5 | - | = | 6 | 7 | 8 | 9 | 0 | BACKSP |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
|
||||
* | TAB | Q | W | E | R | T | [ | ] | Y | U | I | O | P | ' |
|
||||
* | TAB | Q | W | E | R | T | [ | ] | Y | U | I | O | P | \ |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------|
|
||||
* | CAP LK | A | S | D | F | G | | | H | J | K | L | ; | ENTER |
|
||||
* | CAP LK | A | S | D | F | G | HOME | PG UP | H | J | K | L | ; | ENTER |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
|
||||
* | LSHIFT | Z | X | C | V | B | END | PG DN | N | M | , | . | / | RSHIFT |
|
||||
* |--------+--------+--------+--------+--------+-----------------+--------+--------+--------+-----------------+--------+--------|
|
||||
* | LCTRL | LGUI | FN | LALT | SPACE | SPACE | SPACE | SPACE | SPACE | LEFT | DOWN | UP | RIGHT | RCTRL |
|
||||
* | LCTRL | LGUI | LALT | FN | SPACE | SPACE | SPACE | SPACE | LEFT | DOWN | UP | RIGHT | RCTRL |
|
||||
* '-----------------------------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_BASE] = LAYOUT_all(
|
||||
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_MINS, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_QUOT,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LBRC, KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||
KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_HOME, KC_PGUP, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_ENT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_END, KC_PGDN, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, MO(_FN), KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_RCTL
|
||||
),
|
||||
@ -47,20 +47,20 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
* .-----------------------------------------------------------------------------------------------------------------------------.
|
||||
* | ` | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 | DEL |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------|
|
||||
* | | Home | Up | End | PgUp | | | | | | | | PRT SC | |
|
||||
* | | HOME | UP | END | PG UP | | | | | | | | PRT SC | |
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+-----------------+--------|
|
||||
* | | Left | Down | Right | PgDn | | | | | | | | | Reset |
|
||||
* | | LEFT | DOWN | RIGHT | PG DN | | | | | | | | ' | RGB Off|
|
||||
* |--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------------------------+--------|
|
||||
* | | | | | | | | | | MUTE | VOL DN | VOL UP | \ | |
|
||||
* |--------+--------+--------+--------+--------+-----------------+--------+--------+--------+-----------------+--------+--------|
|
||||
* | | | | | | | | | | | | | | Reset |
|
||||
* | | | | | | ENTER | ENTER | BACKSP | | | | | Reset |
|
||||
* '-----------------------------------------------------------------------------------------------------------------------------'
|
||||
*/
|
||||
[_FN] = LAYOUT_all(
|
||||
KC_GRV, 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_HOME, KC_UP, KC_END, KC_PGUP, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, _______,
|
||||
_______, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, _______, _______, _______, _______, _______, _______, QK_BOOT,
|
||||
_______, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, _______, _______, _______, _______, _______, _______, _______, KC_QUOT, UG_TOGG,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_BSLS, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, QK_BOOT
|
||||
_______, _______, _______, _______, _______, KC_ENT, KC_ENT, KC_BSPC, _______, _______, _______, _______, QK_BOOT
|
||||
)
|
||||
};
|
||||
|
@ -5,10 +5,10 @@
|
||||
│00 │01 │02 │03 │04 │05 │06 │07 │08 │09 │0A │0B │0C │0D │
|
||||
├─────┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼─────┤
|
||||
│10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │
|
||||
├─────┼───┼───┼───┼───┼───┤ │ ├───┼───┼───┼───┼───┼─────┤
|
||||
│20 │21 │22 │23 │24 │25 ├───┼───┤28 │29 │2A │2B │2C │2D │
|
||||
├─────┼───┼───┼───┼───┼───┤36 │37 ├───┼───┼───┼───┼───┼─────┤
|
||||
│30 │31 │32 │33 │34 │35 │ │ │38 │39 │3A │3B │3C │3D │
|
||||
├─────┼───┼───┼───┼───┼───├───┼───┼───┼───┼───┼───┼───┼─────┤
|
||||
│20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C │2D │
|
||||
├─────┼───┼───┼───┼───┼───├───┼───┼───┼───┼───┼───┼───┼─────┤
|
||||
│30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3D │
|
||||
├─────┼───┼───┼───┼───┼───┼───┴───┼───┼───┼───┼───┼───┼─────┤
|
||||
│40 │41 │42 │43 │44 │45 │46 │48 │49 │4A │4B │4C │4D │
|
||||
└─────┴───┴───┴───┴───┴───┴───────┴───┴───┴───┴───┴───┴─────┘
|
||||
|
@ -15,5 +15,4 @@
|
||||
/* RGB Driver */
|
||||
#define AW20216S_CS_PIN_1 D2
|
||||
#define AW20216S_CS_PIN_2 B8
|
||||
#define AW20216S_EN_PIN_1 B9
|
||||
#define AW20216S_EN_PIN_2 B9
|
||||
#define AW20216S_EN_PIN B9
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user