Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partially migrate DYNAMIC_KEYMAP_LAYER_COUNT #22087

Merged
merged 1 commit into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions keyboards/1upkeyboards/pi60/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#pragma once

#define DYNAMIC_KEYMAP_LAYER_COUNT 10

#define RGB_MATRIX_LED_COUNT 21
//#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
//#define RGB_MATRIX_KEYPRESSES
Expand Down
3 changes: 3 additions & 0 deletions keyboards/1upkeyboards/pi60/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"vid": "0x6F75"
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 10
},
"features": {
"audio": false,
"backlight": false,
Expand Down
2 changes: 0 additions & 2 deletions keyboards/1upkeyboards/pi60_hse/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#pragma once


#define DYNAMIC_KEYMAP_LAYER_COUNT 10
#define RGB_MATRIX_LED_COUNT 16
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
Expand Down
3 changes: 3 additions & 0 deletions keyboards/1upkeyboards/pi60_hse/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"vid": "0x6F75"
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 10
},
"features": {
"audio": false,
"backlight": false,
Expand Down
2 changes: 0 additions & 2 deletions keyboards/1upkeyboards/sweet16v2/kb2040/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#pragma once


#define DYNAMIC_KEYMAP_LAYER_COUNT 10
#define RGB_MATRIX_LED_COUNT 20
#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
Expand Down
3 changes: 3 additions & 0 deletions keyboards/1upkeyboards/sweet16v2/kb2040/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
"rows": ["GP26", "GP1", "GP18", "GP5"]
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 10
},
"encoder": {
"enabled": true,
"rotary": [
Expand Down
3 changes: 0 additions & 3 deletions keyboards/1upkeyboards/sweet16v2/pro_micro/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

#pragma once


#define DYNAMIC_KEYMAP_LAYER_COUNT 10

#define RGB_MATRIX_LED_COUNT 20
#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
Expand Down
3 changes: 3 additions & 0 deletions keyboards/1upkeyboards/sweet16v2/pro_micro/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"rows": ["D1", "B5", "B4", "E6"]
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 10
},
"encoder": {
"enabled": true,
"rotary": [
Expand Down
3 changes: 0 additions & 3 deletions keyboards/4pplet/eagle_viper_rep/rev_a/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LAYER_3 A8
#define LAYER_4 A9
#define LAYER_5 B9

/* Added extra layer for use of layer leds */
#define DYNAMIC_KEYMAP_LAYER_COUNT 5
3 changes: 3 additions & 0 deletions keyboards/4pplet/eagle_viper_rep/rev_a/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"rows": ["A2", "A1", "B8", "A10", "C15", "A15", "B7", "B6", "C14", "C13"]
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 5
},
"backlight": {
"pin": "A3",
"levels": 10,
Expand Down
3 changes: 0 additions & 3 deletions keyboards/4pplet/eagle_viper_rep/rev_b/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LAYER_3 B0
#define LAYER_4 B9
#define LAYER_5 A9

/* Added extra layer for use of layer leds */
#define DYNAMIC_KEYMAP_LAYER_COUNT 5
3 changes: 3 additions & 0 deletions keyboards/4pplet/eagle_viper_rep/rev_b/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"rows": ["A2", "A1", "B8", "A10", "C15", "A15", "B7", "B6", "C14", "C13"]
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 5
},
"backlight": {
"pin": "A6",
"levels": 6,
Expand Down
3 changes: 0 additions & 3 deletions keyboards/akko/5108/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

#pragma once

/* Use 5 dynamic keymap layers */
#define DYNAMIC_KEYMAP_LAYER_COUNT 6

/* LED Indicators */
#define LED_WIN_LOCK_PIN C11

Expand Down
3 changes: 3 additions & 0 deletions keyboards/akko/5108/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
},
"diode_direction": "ROW2COL",
"dynamic_keymap": {
"layer_count": 6
},
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
Expand Down
3 changes: 0 additions & 3 deletions keyboards/akko/acr87/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

#pragma once

/* Use 5 dynamic keymap layers */
#define DYNAMIC_KEYMAP_LAYER_COUNT 6

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
Expand Down
3 changes: 3 additions & 0 deletions keyboards/akko/acr87/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"rows": [ "B15", "C6", "C7", "C8", "C9", "A8"]
},
"diode_direction": "ROW2COL",
"dynamic_keymap": {
"layer_count": 6
},
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
Expand Down
3 changes: 0 additions & 3 deletions keyboards/akko/top40/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

#pragma once

/* Use 5 dynamic keymap layers */
#define DYNAMIC_KEYMAP_LAYER_COUNT 6

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
Expand Down
3 changes: 3 additions & 0 deletions keyboards/akko/top40/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"rows": ["C7", "C8", "C9", "A8"]
},
"diode_direction": "ROW2COL",
"dynamic_keymap": {
"layer_count": 6
},
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
Expand Down
2 changes: 0 additions & 2 deletions keyboards/bemeier/bmek/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@
*/
#pragma once


#define DYNAMIC_KEYMAP_LAYER_COUNT 5
#define VIA_EEPROM_CUSTOM_CONFIG_SIZE 20
3 changes: 3 additions & 0 deletions keyboards/bemeier/bmek/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"vid": "0x626D",
"pid": "0x656B"
},
"dynamic_keymap": {
"layer_count": 5
},
"layouts": {
"LAYOUT_all": {
"layout": [
Expand Down
3 changes: 0 additions & 3 deletions keyboards/chosfox/cf81/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

#pragma once

/* Use 4 dynamic keymap layers */
#define DYNAMIC_KEYMAP_LAYER_COUNT 4

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
Expand Down
5 changes: 0 additions & 5 deletions keyboards/deng/thirty/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,3 @@
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
#endif

/* VIA */
#ifdef VIA_ENABLE
#define DYNAMIC_KEYMAP_LAYER_COUNT 8
#endif
3 changes: 3 additions & 0 deletions keyboards/deng/thirty/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"rows": ["B15", "A5", "A3", "A15", "B7", "B8"]
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 8
},
"backlight": {
"pin": "B11",
"levels": 5,
Expand Down
2 changes: 0 additions & 2 deletions keyboards/dm9records/lain/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

#define DYNAMIC_KEYMAP_LAYER_COUNT 6
3 changes: 3 additions & 0 deletions keyboards/dm9records/lain/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"rows": ["C6", "D7", "D6", "D4"]
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 6
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
Expand Down
3 changes: 0 additions & 3 deletions keyboards/doio/kb30/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
#endif



// #define DYNAMIC_KEYMAP_LAYER_COUNT 4
/*
* Feature disable options
* These options are also useful to firmware size reduction.
Expand Down
2 changes: 0 additions & 2 deletions keyboards/gkeyboard/gpad8_2r/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#pragma once

#define DYNAMIC_KEYMAP_LAYER_COUNT 8

#define RGB_MATRIX_LED_COUNT 16
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES
Expand Down
3 changes: 3 additions & 0 deletions keyboards/gkeyboard/gpad8_2r/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"rows": ["GP4", "GP5", "GP6"]
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 8
},
"encoder": {
"enabled": true,
"rotary": [
Expand Down
3 changes: 0 additions & 3 deletions keyboards/idyllic/tinny50_rgb/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once


#define DYNAMIC_KEYMAP_LAYER_COUNT 6

#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
#define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS * 7/8
Expand Down
3 changes: 3 additions & 0 deletions keyboards/idyllic/tinny50_rgb/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"rgb_matrix": true
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 6
},
"matrix_pins": {
"rows": ["GP0", "GP2", "GP3", "GP4", "GP7"],
"cols": ["GP29", "GP28", "GP27", "GP26", "GP25", "GP24", "GP23", "GP20", "GP19", "GP1", "GP6", "GP5"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/jones/v1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* External EEPROM */
// Use 24LC64 EEPROM
#define EEPROM_I2C_24LC64
// Set MAX_ADDR to specify actual EEPROM size.
// If it's not set, EEPROM size will be set ATmega32u4's 1023.
#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 8191
// How many layers to use with VIA / Remap.
#define DYNAMIC_KEYMAP_LAYER_COUNT 6 // default:4
3 changes: 3 additions & 0 deletions keyboards/jones/v1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"pin": "F1"
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 6
},
"eeprom": {
"driver": "i2c"
},
Expand Down
2 changes: 0 additions & 2 deletions keyboards/mechwild/sugarglider/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

#pragma once

#define DYNAMIC_KEYMAP_LAYER_COUNT 5

/* Matrix COL and ROW definitions */
#define MATRIX_ROWS 9
#define MATRIX_COLS 6
Expand Down
3 changes: 3 additions & 0 deletions keyboards/mechwild/sugarglider/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"force_nkro": true
},
"diode_direction": "COL2ROW",
"dynamic_keymap": {
"layer_count": 5
},
"rgblight": {
"led_count": 10,
"max_brightness": 255,
Expand Down
3 changes: 0 additions & 3 deletions keyboards/monsgeek/m1/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

#pragma once

/* Use 6 dynamic keymap layers */
#define DYNAMIC_KEYMAP_LAYER_COUNT 6

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
Expand Down
3 changes: 3 additions & 0 deletions keyboards/monsgeek/m1/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
},
"diode_direction": "ROW2COL",
"dynamic_keymap": {
"layer_count": 6
},
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
Expand Down
3 changes: 0 additions & 3 deletions keyboards/monsgeek/m5/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

#pragma once

/* Use 5 dynamic keymap layers */
#define DYNAMIC_KEYMAP_LAYER_COUNT 6

/* LED Indicators */
#define LED_WIN_LOCK_PIN C11

Expand Down
3 changes: 3 additions & 0 deletions keyboards/monsgeek/m5/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"rows": ["B15", "C6", "C7", "C8", "C9", "A8"]
},
"diode_direction": "ROW2COL",
"dynamic_keymap": {
"layer_count": 6
},
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
Expand Down
3 changes: 0 additions & 3 deletions keyboards/monsgeek/m6/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@

#pragma once

/* Use 6 dynamic keymap layers */
#define DYNAMIC_KEYMAP_LAYER_COUNT 6

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
Expand Down
3 changes: 3 additions & 0 deletions keyboards/monsgeek/m6/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"rows": ["C6", "C7", "C8", "C9", "A8"]
},
"diode_direction": "ROW2COL",
"dynamic_keymap": {
"layer_count": 6
},
"eeprom": {
"driver": "wear_leveling",
"wear_leveling": {
Expand Down
4 changes: 0 additions & 4 deletions keyboards/moonlander/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,6 @@

#define FIRMWARE_VERSION_SIZE 17
#define DYNAMIC_KEYMAP_EEPROM_ADDR (EECONFIG_SIZE + FIRMWARE_VERSION_SIZE)
#ifdef EEPROM_I2C
# define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 16383
# define DYNAMIC_KEYMAP_LAYER_COUNT 8
#endif

#define AUDIO_PIN A5
#define AUDIO_PIN_ALT A4
Expand Down
Loading
Loading