diff options
author | Joel Challis <[email protected]> | 2024-04-17 19:32:56 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-04-17 19:32:56 +0100 |
commit | abcaf39e6c399f77a846e627324d4b9d9d79fe5f (patch) | |
tree | 0b9875c570e60e208b950edd812cb59c4244fe08 /keyboards/ristretto | |
parent | 860c218415b89104d53e84b7843d88167b5ccbc1 (diff) | |
download | qmk_firmware-abcaf39e6c399f77a846e627324d4b9d9d79fe5f.tar.gz qmk_firmware-abcaf39e6c399f77a846e627324d4b9d9d79fe5f.zip |
Migrate build target markers to keyboard.json - R (#23542)
Diffstat (limited to 'keyboards/ristretto')
-rw-r--r-- | keyboards/ristretto/config.h | 23 | ||||
-rw-r--r-- | keyboards/ristretto/keyboard.json (renamed from keyboards/ristretto/info.json) | 14 | ||||
-rw-r--r-- | keyboards/ristretto/rules.mk | 14 |
3 files changed, 14 insertions, 37 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..b28f3c1dc1 100644 --- a/keyboards/ristretto/info.json +++ b/keyboards/ristretto/keyboard.json @@ -8,6 +8,20 @@ "pid": "0x7273", "device_version": "0.0.1" }, + "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"], "rows": ["B1", "B2", "B3", "D3"] diff --git a/keyboards/ristretto/rules.mk b/keyboards/ristretto/rules.mk index 13002485f8..908e5e972e 100644 --- a/keyboards/ristretto/rules.mk +++ b/keyboards/ristretto/rules.mk @@ -1,15 +1 @@ -# 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 |