summaryrefslogtreecommitdiff
path: root/keyboards/pteron36
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2024-05-23 11:49:53 -0700
committerGitHub <noreply@github.com>2024-05-23 19:49:53 +0100
commitc4e182b98e0b072dd97133b71b01f59f0eb07501 (patch)
tree62ecfd3b31d84ecc5f1ed171d28380b9f8650b2f /keyboards/pteron36
parentbfa05cc5e7a41c0291690516c2954aaefde7d9b9 (diff)
Migrate `LOCKING_*_ENABLE` to Data-Driven: P, Part 2 (#23780)
Affects: - `preonic/rev1` - `preonic/rev2` - `preonic/rev3` - `preonic/rev3_drop` - `primekb/meridian/ktr1010` - `primekb/meridian/ws2812` - `primekb/meridian_rgb` - `primekb/prime_m` - `primekb/prime_o` - `primekb/prime_r` - `projectcain/relic` - `projectcain/vault45` - `projectd/65/projectd_65_ansi` - `projectd/75/ansi` - `projectkb/alice/rev1` - `projectkb/alice/rev2` - `projectkb/signature65` - `projectkb/signature87` - `prototypist/allison` - `prototypist/allison_numpad` - `prototypist/j01` - `psuieee/pluto12` - `pteron36` - `puck` - `punk75`
Diffstat (limited to 'keyboards/pteron36')
-rw-r--r--keyboards/pteron36/config.h39
-rw-r--r--keyboards/pteron36/keyboard.json6
2 files changed, 6 insertions, 39 deletions
diff --git a/keyboards/pteron36/config.h b/keyboards/pteron36/config.h
deleted file mode 100644
index 72b4ea84e7..0000000000
--- a/keyboards/pteron36/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
1/*
2Copyright 2021 Harshit Goel
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
21#define LOCKING_SUPPORT_ENABLE
22/* Locking resynchronize hack */
23#define LOCKING_RESYNC_ENABLE
24
25/*
26 * Feature disable options
27 * These options are also useful to firmware size reduction.
28 */
29
30/* disable debug print */
31//#define NO_DEBUG
32
33/* disable print */
34//#define NO_PRINT
35
36/* disable action features */
37//#define NO_ACTION_LAYER
38//#define NO_ACTION_TAPPING
39//#define NO_ACTION_ONESHOT
diff --git a/keyboards/pteron36/keyboard.json b/keyboards/pteron36/keyboard.json
index f4bab52419..abd94d599a 100644
--- a/keyboards/pteron36/keyboard.json
+++ b/keyboards/pteron36/keyboard.json
@@ -19,6 +19,12 @@
19 "oled": true, 19 "oled": true,
20 "rgblight": true 20 "rgblight": true
21 }, 21 },
22 "qmk": {
23 "locking": {
24 "enabled": true,
25 "resync": true
26 }
27 },
22 "matrix_pins": { 28 "matrix_pins": {
23 "cols": ["F6", "F7", "B1", "B3", "B2"], 29 "cols": ["F6", "F7", "B1", "B3", "B2"],
24 "rows": ["E6", "D7", "B4", "B5"] 30 "rows": ["E6", "D7", "B4", "B5"]