Migrate `LOCKING_*_ENABLE` to Data-Driven: U-V (#23786)

Affects:

  - `uk78`
  - `ungodly/nines`
  - `unikeyboard/diverge3`
  - `unikeyboard/divergetm2`
  - `unikeyboard/felix`
  - `uranuma`
  - `utd80`
  - `v60_type_r`
  - `vagrant_10`
  - `viendi8l`
  - `viktus/at101_bh`
  - `viktus/omnikey_bh`
  - `viktus/smolka`
  - `viktus/sp111`
  - `viktus/styrka`
  - `viktus/z150_bh`
  - `vitamins_included/rev1`
master
James Young 2024-05-23 11:40:41 -07:00 committed by GitHub
parent e659c3dae9
commit 04bf30aad8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
34 changed files with 102 additions and 290 deletions

View File

@ -1,24 +0,0 @@
/*
Copyright 2017 Ruari Armstrong <ukkeyboards@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
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

View File

@ -18,6 +18,12 @@
"nkro": true, "nkro": true,
"rgblight": true "rgblight": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["A2", "A1", "F5", "F4", "E6", "E7", "E5", "E4", "B7", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "B5", "E0"], "cols": ["A2", "A1", "F5", "F4", "E6", "E7", "E5", "E4", "B7", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "B5", "E0"],
"rows": ["F3", "F2", "F1", "F0", "A0"] "rows": ["F3", "F2", "F1", "F0", "A0"]

View File

@ -1,21 +0,0 @@
/* Copyright 2020 Ungodly Design <hello@ungodly.design>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* 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

View File

@ -25,6 +25,12 @@
"mousekey": true, "mousekey": true,
"nkro": true "nkro": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"direct": [ "direct": [
["F4", "F5", "F6"], ["F4", "F5", "F6"],

View File

@ -21,11 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SELECT_SOFT_SERIAL_SPEED 3 #define SELECT_SOFT_SERIAL_SPEED 3
#endif #endif
/* 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
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held. /* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
* This is useful for the Windows task manager shortcut (ctrl+shift+esc). * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
*/ */

View File

@ -17,6 +17,12 @@
"mousekey": true, "mousekey": true,
"nkro": false "nkro": false
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "D7", "E6", "B4", "B5"] "rows": ["D4", "D7", "E6", "B4", "B5"]

View File

@ -1,23 +0,0 @@
/* Copyright 2018 Christon DeWan (xton)
* Copyright 2017 IslandMan93
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* 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

View File

@ -16,6 +16,12 @@
"mousekey": true, "mousekey": true,
"nkro": false "nkro": false
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6"], "cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D7", "E6", "B4", "B5"] "rows": ["D7", "E6", "B4", "B5"]

View File

@ -1,22 +0,0 @@
#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
/*
* 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

View File

@ -17,6 +17,12 @@
"mousekey": true, "mousekey": true,
"nkro": true "nkro": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["B5", "B4", "E6", "D7"], "cols": ["B5", "B4", "E6", "D7"],
"rows": ["B2", "B3", "B1", "F7", "F6"] "rows": ["B2", "B3", "B1", "F7", "F6"]

View File

@ -1,22 +0,0 @@
#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
/*
* 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

View File

@ -17,6 +17,12 @@
"mousekey": true, "mousekey": true,
"nkro": false "nkro": false
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D2", "D4"], "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6", "D2", "D4"],
"rows": ["C6", "D7", "E6", "B4", "B5"] "rows": ["C6", "D7", "E6", "B4", "B5"]

View File

@ -1,22 +0,0 @@
/* Copyright 2021 UTDKeyboard & Dominic Gan
*
* this program is free software: you can redistribute it and/or modify
* it under the terms of the gnu general public license as published by
* the free software foundation, either version 2 of the license, or
* (at your option) any later version.
*
* this program is distributed in the hope that it will be useful,
* but without any warranty; without even the implied warranty of
* merchantability or fitness for a particular purpose. see the
* gnu general public license for more details.
*
* you should have received a copy of the gnu general public license
* 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

View File

@ -18,6 +18,12 @@
"nkro": true, "nkro": true,
"rgblight": true "rgblight": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["B1", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "D3", "E6", "D7", "D6", "D4", "D2", "D1"], "cols": ["B1", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "D3", "E6", "D7", "D6", "D4", "D2", "D1"],
"rows": ["B4", "D5", "D0", "B2", "B3", "B0"] "rows": ["B4", "D5", "D0", "B2", "B3", "B0"]

View File

@ -23,11 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_GREEN_PIN F5 #define RGB_GREEN_PIN F5
#define RGB_BLUE_PIN F4 #define RGB_BLUE_PIN F4
/* 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 * Feature disable options
* These options are also useful to firmware size reduction. * These options are also useful to firmware size reduction.

View File

@ -20,6 +20,12 @@
"mousekey": true, "mousekey": true,
"nkro": false "nkro": false
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7"], "cols": ["D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7"],
"rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"] "rows": ["B0", "B1", "B2", "B3", "B4", "B5", "B6", "B7"]

View File

@ -1,32 +0,0 @@
/**
MIT License
Copyright (c) 2020 Shanduur & QMK Firmware
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
#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

View File

@ -16,6 +16,12 @@
"mousekey": true, "mousekey": true,
"nkro": true "nkro": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["F4", "F6", "F5"], "cols": ["F4", "F6", "F5"],
"rows": ["F7", "B1", "B3", "B2"] "rows": ["F7", "B1", "B3", "B2"]

View File

@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #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 I2C_DRIVER I2CD1 #define I2C_DRIVER I2CD1
#define I2C_SCL_PIN B6 #define I2C_SCL_PIN B6
#define I2C_SDA_PIN B7 #define I2C_SDA_PIN B7

View File

@ -28,6 +28,12 @@
"nkro": false, "nkro": false,
"rgblight": true "rgblight": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["C6", "C7", "C8", "C9", "A8", "B3", "B4", "A10", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1", "A2", "A3"], "cols": ["C6", "C7", "C8", "C9", "A8", "B3", "B4", "A10", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1", "A2", "A3"],
"rows": ["C3", "C2", "C1", "C0", "B14", "A7"] "rows": ["C3", "C2", "C1", "C0", "B14", "A7"]

View File

@ -1,7 +0,0 @@
#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

View File

@ -17,6 +17,12 @@
"mousekey": true, "mousekey": true,
"nkro": true "nkro": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["D1", "D0", "B7", "B3", "B2", "B1", "B0", "E6", "D2", "D3"], "cols": ["D1", "D0", "B7", "B3", "B2", "B1", "B0", "E6", "D2", "D3"],
"rows": ["F0", "F1", "F4", "D4", "F6", "F5", "F7", "B6", "B5", "D5", "C7", "C6"] "rows": ["F0", "F1", "F4", "D4", "F6", "F5", "F7", "B6", "B5", "D5", "C7", "C6"]

View File

@ -1,7 +0,0 @@
#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

View File

@ -17,6 +17,12 @@
"mousekey": true, "mousekey": true,
"nkro": true "nkro": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["C2", "C3", "C4", "C7", "C1", "C0", "E1", "E0", "D7", "F7", "F6", "F5", "F4", "F3", "F2", "F1", "F0", "E6", "E7", "B0", "B1", "B2", "B3"], "cols": ["C2", "C3", "C4", "C7", "C1", "C0", "E1", "E0", "D7", "F7", "F6", "F5", "F4", "F3", "F2", "F1", "F0", "E6", "E7", "B0", "B1", "B2", "B3"],
"rows": ["B7", "D0", "D1", "D2", "D3", "D4"] "rows": ["B7", "D0", "D1", "D2", "D3", "D4"]

View File

@ -1,39 +0,0 @@
/*
Copyright 2021 jrfhoutx
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
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
/*
* 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

View File

@ -17,6 +17,12 @@
"mousekey": true, "mousekey": true,
"nkro": true "nkro": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["D6", "D7", "B4", "B5", "B6", "D4", "B1", "B2"], "cols": ["D6", "D7", "B4", "B5", "B6", "D4", "B1", "B2"],
"rows": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6"] "rows": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6"]

View File

@ -20,11 +20,6 @@
#define MATRIX_ROWS 6*2 #define MATRIX_ROWS 6*2
#define MATRIX_COLS 11 #define MATRIX_COLS 11
/* 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 * Feature disable options
* These options are also useful to firmware size reduction. * These options are also useful to firmware size reduction.

View File

@ -17,6 +17,12 @@
"mousekey": true, "mousekey": true,
"nkro": true "nkro": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"processor": "atmega32u4", "processor": "atmega32u4",
"bootloader": "atmel-dfu", "bootloader": "atmel-dfu",
"layouts": { "layouts": {

View File

@ -1,39 +0,0 @@
/*
Copyright 2020 jrfhoutx
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
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
/*
* 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

View File

@ -16,6 +16,12 @@
"mousekey": false, "mousekey": false,
"nkro": true "nkro": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "B14", "B15", "A8", "A9"], "cols": ["A0", "A1", "A2", "A3", "A4", "B14", "B15", "A8", "A9"],
"rows": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "B13", "B12"] "rows": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "B13", "B12"]

View File

@ -1,7 +0,0 @@
#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

View File

@ -17,6 +17,12 @@
"mousekey": true, "mousekey": true,
"nkro": true "nkro": true
}, },
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": { "matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D4", "D5", "D7", "E0", "C7", "C6", "C5", "C4", "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7"], "cols": ["D0", "D1", "D2", "D3", "D4", "D5", "D7", "E0", "C7", "C6", "C5", "C4", "F0", "F1", "F2", "F3", "F4", "F5", "F6", "F7"],
"rows": ["C3", "C2", "C1", "C0", "E1"] "rows": ["C3", "C2", "C1", "C0", "E1"]

View File

@ -23,11 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EE_HANDS #define EE_HANDS
/* 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
/* Audio settings */ /* Audio settings */
#ifdef AUDIO_ENABLE #ifdef AUDIO_ENABLE
#define AUDIO_PIN C6 // Define this to enable the buzzer #define AUDIO_PIN C6 // Define this to enable the buzzer

View File

@ -7,6 +7,12 @@
"rows": ["F5", "F6", "C7", "F7"] "rows": ["F5", "F6", "C7", "F7"]
}, },
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"split": { "split": {
"enabled": true, "enabled": true,
"soft_serial_pin": "D0" "soft_serial_pin": "D0"