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

Migrate LOCKING_*_ENABLE to Data-Driven: O #23778

Merged
merged 1 commit into from
May 23, 2024
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
5 changes: 0 additions & 5 deletions keyboards/oddball/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
#define SPLIT_USB_DETECT
#define MASTER_RIGHT

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

/* optical sensor settings */
#define SCROLL_DIVIDER 12
#define CPI_1 2000
Expand Down
6 changes: 6 additions & 0 deletions keyboards/oddball/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
"nkro": false,
"pointing_device": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"split": {
"enabled": true
},
Expand Down
3 changes: 0 additions & 3 deletions keyboards/oddforge/vea/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS 8
#define MATRIX_COLS 15

#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE

#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 9
6 changes: 6 additions & 0 deletions keyboards/oddforge/vea/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
"mousekey": false,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"backlight": {
"pin": "D4"
},
Expand Down
24 changes: 0 additions & 24 deletions keyboards/ok60/config.h

This file was deleted.

6 changes: 6 additions & 0 deletions keyboards/ok60/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "B6", "C6", "C7", "F1", "F0", "E6", "B3", "B2", "B1", "B0"],
"rows": ["B5", "B4", "D7", "D6", "D4"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/om60/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D1, D0, D4, C6, D7 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, E6 }

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

#ifndef IOS_DEVICE_ENABLE
#define RGBLIGHT_LIMIT_VAL 90
#define RGBLIGHT_VAL_STEP 17
Expand Down
6 changes: 5 additions & 1 deletion keyboards/om60/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
]
},
"qmk": {
"tap_keycode_delay": 10
"tap_keycode_delay": 10,
"locking": {
"enabled": true,
"resync": true
}
},
"rgblight": {
"hue_steps": 10,
Expand Down
5 changes: 0 additions & 5 deletions keyboards/omkbd/ergodash/mini/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/>.

#define AUDIO_PIN C6

/* 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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
Expand Down
6 changes: 6 additions & 0 deletions keyboards/omkbd/ergodash/mini/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"mousekey": false,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"],
"rows": ["D7", "E6", "B4", "B5"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/omkbd/ergodash/rev1/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/>.

#define AUDIO_PIN C6

/* 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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
Expand Down
6 changes: 6 additions & 0 deletions keyboards/omkbd/ergodash/rev1/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"mousekey": false,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"],
"rows": ["D4", "D7", "E6", "B4", "B5"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/omkbd/runner3680/3x6/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
Expand Down
6 changes: 6 additions & 0 deletions keyboards/omkbd/runner3680/3x6/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/omkbd/runner3680/3x7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
Expand Down
6 changes: 6 additions & 0 deletions keyboards/omkbd/runner3680/3x7/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/omkbd/runner3680/3x8/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
Expand Down
6 changes: 6 additions & 0 deletions keyboards/omkbd/runner3680/3x8/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/omkbd/runner3680/4x6/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
Expand Down
6 changes: 6 additions & 0 deletions keyboards/omkbd/runner3680/4x6/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/omkbd/runner3680/4x7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
Expand Down
6 changes: 6 additions & 0 deletions keyboards/omkbd/runner3680/4x7/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/omkbd/runner3680/4x8/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
Expand Down
6 changes: 6 additions & 0 deletions keyboards/omkbd/runner3680/4x8/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/omkbd/runner3680/5x6/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
Expand Down
6 changes: 6 additions & 0 deletions keyboards/omkbd/runner3680/5x6/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6", "B4"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/omkbd/runner3680/5x6_5x8/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
Expand Down
6 changes: 6 additions & 0 deletions keyboards/omkbd/runner3680/5x6_5x8/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"pid": "0x5658",
"device_version": "0.0.5"
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"rgb_matrix": {
"driver": "ws2812",
"split_count": [30, 40]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/omkbd/runner3680/5x7/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
Expand Down
6 changes: 6 additions & 0 deletions keyboards/omkbd/runner3680/5x7/keyboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.5"
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6", "B4"]
Expand Down
5 changes: 0 additions & 5 deletions keyboards/omkbd/runner3680/5x8/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@

#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 SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/
//Speeds:
Expand Down
Loading
Loading