Skip to content

Commit

Permalink
Migrate LOCKING_*_ENABLE to Data-Driven: M, Part 2 (qmk#23773)
Browse files Browse the repository at this point in the history
Affects:

  - `mkh_studio/bully`
  - `mlego/m48/rev1`
  - `mlego/m60/rev1`
  - `mlego/m60_split/rev1`
  - `mlego/m60_split/rev2`
  - `mntre`
  - `mode/m65ha_alpha`
  - `mode/m65hi_alpha`
  - `mode/m65s`
  - `mode/m80v1/m80h`
  - `mode/m80v1/m80s`
  - `mode/m80v2/m80v2h`
  - `mode/m80v2/m80v2s`
  - `molecule`
  - `momoka_ergo`
  - `monarch`
  - `monsgeek/m1`
  - `monsgeek/m3`
  - `monsgeek/m5`
  - `monsgeek/m6`
  - `monstargear/xo87/rgb`
  - `monstargear/xo87/solderable`
  - `montsinger/rebound/rev1`
  - `montsinger/rebound/rev2`
  - `montsinger/rebound/rev3`
  - `montsinger/rebound/rev4`
  - `montsinger/rewind`
  - `moon`
  - `morizon`
  - `mountainblocks/mb17`
  - `mt/blocked65`
  - `mt/mt64rgb`
  - `mt/mt980`
  - `mtbkeys/mtb60/hotswap`
  - `mtbkeys/mtb60/solder`
  - `murcielago/rev1`
  - `mxss`
  - `mysticworks/wyvern`
  • Loading branch information
noroadsleft authored May 22, 2024
1 parent d154732 commit 495e83b
Show file tree
Hide file tree
Showing 73 changed files with 227 additions and 497 deletions.
9 changes: 0 additions & 9 deletions keyboards/mkh_studio/bully/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/mkh_studio/bully/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"mousekey": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT": {
"layout": [
Expand Down
21 changes: 0 additions & 21 deletions keyboards/mlego/m48/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/mlego/m48/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["A10", "A15", "B3", "B4", "B5", "B7", "B6", "A1", "A2", "A3", "A4", "A5"],
"rows": ["A6", "A7", "B0", "B10"]
Expand Down
21 changes: 0 additions & 21 deletions keyboards/mlego/m60/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/mlego/m60/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["A10", "A15", "B3", "B4", "B5", "B7", "B6", "A1", "A2", "A3", "A4", "A5"],
"rows": ["A6", "A7", "B0", "B1", "B10"]
Expand Down
21 changes: 0 additions & 21 deletions keyboards/mlego/m60_split/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/mlego/m60_split/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"rgblight": true,
"encoder": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B14", "A10", "A15", "B3", "B4", "B5"],
"rows": ["B0", "A6", "A7", "B1", "A5"]
Expand Down
6 changes: 6 additions & 0 deletions keyboards/mlego/m60_split/rev2/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"rgblight": true,
"encoder": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B14", "A10", "A15", "B3", "B4", "B5"],
"rows": ["B0", "A6", "A7", "B1", "A5"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/mntre/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

#define BACKLIGHT_RESOLUTION 0x400

/* 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

/*
* Feature disable options
* These options are also useful to firmware size reduction.
Expand Down
6 changes: 6 additions & 0 deletions keyboards/mntre/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"nkro": false,
"oled": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D5", "F7", "E6", "C7", "B3", "B2", "B1", "B0", "F0", "F1", "F4", "F5", "F6", "C6"],
"rows": ["B6", "B5", "B4", "D7", "D6", "D4"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/mode/m65ha_alpha/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

/* 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

#define EEPROM_I2C_24LC256
//#define I2C1_CLOCK_SPEED 400000
//#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
Expand Down
6 changes: 6 additions & 0 deletions keyboards/mode/m65ha_alpha/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mousekey": false,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B10", "B12", "C8", "C4", "C5", "B0", "C10", "B13", "B14", "B15", "A15", "C6", "C7", "A8", "C9"],
"rows": ["A7", "A10", "D2", "C12", "B1", "C11"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/mode/m65hi_alpha/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

/* 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

#define EEPROM_I2C_24LC256
//#define I2C1_CLOCK_SPEED 400000
//#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
Expand Down
6 changes: 6 additions & 0 deletions keyboards/mode/m65hi_alpha/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mousekey": false,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B10", "B12", "C8", "C4", "C5", "B0", "C10", "B13", "B14", "B15", "A15", "C6", "C7", "A8", "C9"],
"rows": ["A7", "A10", "D2", "C12", "B1", "C11"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/mode/m65s/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

/* 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

#define EEPROM_I2C_24LC128
//#define I2C1_CLOCK_SPEED 400000
//#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
Expand Down
6 changes: 5 additions & 1 deletion keyboards/mode/m65s/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
"device_version": "0.0.1"
},
"qmk": {
"tap_keycode_delay": 50
"tap_keycode_delay": 50,
"locking": {
"enabled": true,
"resync": true
}
},
"features": {
"bootmagic": true,
Expand Down
39 changes: 0 additions & 39 deletions keyboards/mode/m80v1/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/mode/m80v1/m80h/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mousekey": false,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B8", "B7", "B6", "B5", "B4", "A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "A7", "A6", "A5"],
"rows": ["A10", "A15", "B3", "B9", "A3", "A4"]
Expand Down
6 changes: 6 additions & 0 deletions keyboards/mode/m80v1/m80s/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mousekey": false,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["B8", "B7", "B6", "B5", "B4", "A2", "A1", "A0", "F1", "F0", "C15", "C14", "C13", "A7", "A6", "A5"],
"rows": ["A10", "A15", "B3", "B9", "A3", "A4"]
Expand Down
23 changes: 0 additions & 23 deletions keyboards/mode/m80v2/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/mode/m80v2/m80v2h/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mousekey": false,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B10", "A8", "A10", "B15", "A15", "B5", "B8", "C13"],
"rows": ["B12", "B13", "B14", "B3", "B4", "B9"]
Expand Down
6 changes: 6 additions & 0 deletions keyboards/mode/m80v2/m80v2s/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@
"mousekey": false,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B10", "A8", "A10", "B15", "A15", "B5", "B8", "C13"],
"rows": ["B12", "B13", "B14", "B3", "B4", "B9"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/molecule/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* OLED */
#define OLED_TIMEOUT 0

/* 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

/*
* Feature disable options
* These options are also useful to firmware size reduction.
Expand Down
6 changes: 6 additions & 0 deletions keyboards/molecule/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"extrakey": true,
"pointing_device": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
"rows": ["F4", "F5", "F6", "B6"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/momoka_ergo/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define SELECT_SOFT_SERIAL_SPEED 5

/* 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

#define SPLIT_USB_DETECT
#define EE_HANDS
Loading

0 comments on commit 495e83b

Please sign in to comment.