Migrate dynamic_keymap.layer_count < 4 where requried (#22091)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Joel Challis 2024-01-09 10:15:03 +00:00 • committed by GitHub
commit 66050bb809
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 54 additions and 77 deletions

View file

@ -5,5 +5,3 @@
/* Solenoid pin */
#define SOLENOID_PIN A7
#define DYNAMIC_KEYMAP_LAYER_COUNT 2

View file

@ -15,6 +15,9 @@
"build": {
"lto": true
},
"dynamic_keymap": {
"layer_count": 3
},
"encoder": {
"rotary": [{ "pin_a": "C4", "pin_b": "C3" }]
},

View file

@ -17,11 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define DYNAMIC_KEYMAP_LAYER_COUNT 2
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

View file

@ -17,11 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define DYNAMIC_KEYMAP_LAYER_COUNT 2
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

View file

@ -21,6 +21,3 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* EEPROM for via */
#define DYNAMIC_KEYMAP_LAYER_COUNT 3

View file

@ -58,5 +58,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define DYNAMIC_KEYMAP_LAYER_COUNT 3

View file

@ -10,6 +10,9 @@
},
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"dynamic_keymap": {
"layer_count": 3
},
"community_layouts": ["tkl_ansi"],
"layouts": {
"LAYOUT": {

View file

@ -20,5 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 18
#define DYNAMIC_KEYMAP_LAYER_COUNT 3 // not enough memory for a 4th layer with VIA

View file

@ -1,6 +1,9 @@
{
"keyboard_name": "Majestouch TKL \\\\w The Pegasus Hoof 2013",
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 3
},
"indicators": {
"caps_lock": "C6",
"scroll_lock": "C5",

View file

@ -20,5 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 18
#define DYNAMIC_KEYMAP_LAYER_COUNT 3 // not enough memory for a 4th layer with VIA

View file

@ -1,6 +1,9 @@
{
"keyboard_name": "Majestouch TKL The Pegasus Hoof 2015",
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 3
},
"indicators": {
"caps_lock": "C6",
"scroll_lock": "C5",

View file

@ -22,8 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View file

@ -20,6 +20,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64

View file

@ -22,9 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View file

@ -26,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
#define DYNAMIC_KEYMAP_LAYER_COUNT 3
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View file

@ -31,8 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_SPI_SCK_PAL_MODE 0
#define WS2812_SPI_SCK_PIN B13
#define DYNAMIC_KEYMAP_LAYER_COUNT 2
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View file

@ -36,5 +36,3 @@
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define DYNAMIC_KEYMAP_LAYER_COUNT 3

View file

@ -13,6 +13,9 @@
"rows": ["D1", "D0", "D3", "D2", "D6", "D4", "D7", "B4", "B5", "B6", "C6", "C7"]
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 3
},
"indicators": {
"caps_lock": "D5",
"num_lock": "B7",

View file

@ -37,5 +37,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
#define DYNAMIC_KEYMAP_LAYER_COUNT 3

View file

@ -13,6 +13,9 @@
"rows": ["D3", "F5", "F4", "F0", "B7", "B2", "E6", "B0"]
},
"diode_direction": "ROW2COL",
"dynamic_keymap": {
"layer_count": 3
},
"indicators": {
"caps_lock": "F7",
"scroll_lock": "F6",

Some files were not shown because too many files have changed in this diff Show more