aboutsummaryrefslogtreecommitdiff
path: root/keyboards/h0oni
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2024-05-21 05:00:53 -0700
committerGitHub <noreply@github.com>2024-05-21 13:00:53 +0100
commit2b926774cae11e55001435d0475436137afda7fb (patch)
tree02e3ce83d57f023d9a5564ee285fcb51699519ae /keyboards/h0oni
parentb6996790378017b28adaadb9ef950fcca345fd63 (diff)
Migrate `LOCKING_*_ENABLE` to Data-Driven: H, Part 1 (#23759)
Affects: - `h0oni/deskpad` - `h0oni/hotduck` - `halfcliff` - `halokeys/elemental75` - `han60` - `hardlineworks/otd_plus` - `helix/rev3_4rows` - `helix/rev3_5rows` - `hfdkb/ac001` - `hidtech/bastyl` - `hineybush/h08_ocelot` - `hineybush/h10` - `hineybush/h60` - `hineybush/h65` - `hineybush/h65_hotswap` - `hineybush/h660s` - `hineybush/h75_singa` - `hineybush/h87a` - `hineybush/h88` - `hineybush/hbcp` - `hineybush/hineyg80` - `hineybush/physix` - `hineybush/sm68` - `hnahkb/freyr` - `hnahkb/stella` - `hnahkb/vn66` - `horizon` - `hotdox` - `hs60/v1`
Diffstat (limited to 'keyboards/h0oni')
-rw-r--r--keyboards/h0oni/deskpad/config.h22
-rw-r--r--keyboards/h0oni/deskpad/keyboard.json6
-rw-r--r--keyboards/h0oni/hotduck/config.h22
-rw-r--r--keyboards/h0oni/hotduck/keyboard.json6
4 files changed, 12 insertions, 44 deletions
diff --git a/keyboards/h0oni/deskpad/config.h b/keyboards/h0oni/deskpad/config.h
deleted file mode 100644
index 441e3b8c1a..0000000000
--- a/keyboards/h0oni/deskpad/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 Hydrogen BD <support@hgenbd.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
diff --git a/keyboards/h0oni/deskpad/keyboard.json b/keyboards/h0oni/deskpad/keyboard.json
index 471d101693..d240acf9d3 100644
--- a/keyboards/h0oni/deskpad/keyboard.json
+++ b/keyboards/h0oni/deskpad/keyboard.json
@@ -20,6 +20,12 @@
"mousekey": true,
"nkro": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["D0", "D4", "D1"],
"rows": ["D7", "C6"]
diff --git a/keyboards/h0oni/hotduck/config.h b/keyboards/h0oni/hotduck/config.h
deleted file mode 100644
index 4c8c95e41e..0000000000
--- a/keyboards/h0oni/hotduck/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 Md Mashur Shalehin, aka h0oni <mashursakib1920@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
diff --git a/keyboards/h0oni/hotduck/keyboard.json b/keyboards/h0oni/hotduck/keyboard.json
index c034e7a3a4..605d614d6a 100644
--- a/keyboards/h0oni/hotduck/keyboard.json
+++ b/keyboards/h0oni/hotduck/keyboard.json
@@ -17,6 +17,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"matrix_pins": {
"cols": ["B5", "B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "D3"],
"rows": ["B6", "B2", "B3", "B1", "F7", "F6", "F5"]