aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ristretto
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ristretto')
-rw-r--r--keyboards/ristretto/config.h23
-rw-r--r--keyboards/ristretto/keyboard.json (renamed from keyboards/ristretto/info.json)17
-rw-r--r--keyboards/ristretto/rules.mk15
3 files changed, 16 insertions, 39 deletions
diff --git a/keyboards/ristretto/config.h b/keyboards/ristretto/config.h
deleted file mode 100644
index de203ddc4e..0000000000
--- a/keyboards/ristretto/config.h
+++ /dev/null
@@ -1,23 +0,0 @@
-/* Copyright 2021 Brandon Lewis
- *
- * 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/ristretto/info.json b/keyboards/ristretto/keyboard.json
index 3853accd9b..e8e812b7d2 100644
--- a/keyboards/ristretto/info.json
+++ b/keyboards/ristretto/keyboard.json
@@ -6,7 +6,22 @@
"usb": {
"vid": "0x666B",
"pid": "0x7273",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "wait_for_enumeration": true
+ },
+ "features": {
+ "bootmagic": false,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": false,
+ "nkro": true,
+ "oled": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
},
"matrix_pins": {
"cols": ["C7", "C6", "B6", "B5", "B4", "D7", "B7", "F0", "F1", "F4", "F5", "F6", "F7"],
diff --git a/keyboards/ristretto/rules.mk b/keyboards/ristretto/rules.mk
deleted file mode 100644
index 13002485f8..0000000000
--- a/keyboards/ristretto/rules.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes
-OLED_ENABLE = yes
-WAIT_FOR_USB = yes