aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rate/pistachio
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rate/pistachio')
-rw-r--r--keyboards/rate/pistachio/rev1/config.h5
-rw-r--r--keyboards/rate/pistachio/rev1/keyboard.json6
-rw-r--r--keyboards/rate/pistachio/rev2/config.h5
-rw-r--r--keyboards/rate/pistachio/rev2/keyboard.json6
4 files changed, 12 insertions, 10 deletions
diff --git a/keyboards/rate/pistachio/rev1/config.h b/keyboards/rate/pistachio/rev1/config.h
index cad548df8e..097551d666 100644
--- a/keyboards/rate/pistachio/rev1/config.h
+++ b/keyboards/rate/pistachio/rev1/config.h
@@ -26,8 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#else
#define USB_MAX_POWER_CONSUMPTION 100
#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
diff --git a/keyboards/rate/pistachio/rev1/keyboard.json b/keyboards/rate/pistachio/rev1/keyboard.json
index 2a74e00c0d..cabbbc0897 100644
--- a/keyboards/rate/pistachio/rev1/keyboard.json
+++ b/keyboards/rate/pistachio/rev1/keyboard.json
@@ -7,6 +7,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"rgblight": {
"hue_steps": 10,
"led_count": 2,
diff --git a/keyboards/rate/pistachio/rev2/config.h b/keyboards/rate/pistachio/rev2/config.h
index 8a12d3d9ee..02ddb2130e 100644
--- a/keyboards/rate/pistachio/rev2/config.h
+++ b/keyboards/rate/pistachio/rev2/config.h
@@ -30,8 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#else
#define USB_MAX_POWER_CONSUMPTION 100
#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
diff --git a/keyboards/rate/pistachio/rev2/keyboard.json b/keyboards/rate/pistachio/rev2/keyboard.json
index 72ad90478e..ac1866dc75 100644
--- a/keyboards/rate/pistachio/rev2/keyboard.json
+++ b/keyboards/rate/pistachio/rev2/keyboard.json
@@ -7,6 +7,12 @@
"nkro": true,
"rgblight": true
},
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"ws2812": {
"pin": "D2"
},