summaryrefslogtreecommitdiff
path: root/keyboards/ristretto
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-04-17 19:32:56 +0100
committerGitHub <noreply@github.com>2024-04-17 19:32:56 +0100
commitabcaf39e6c399f77a846e627324d4b9d9d79fe5f (patch)
tree0b9875c570e60e208b950edd812cb59c4244fe08 /keyboards/ristretto
parent860c218415b89104d53e84b7843d88167b5ccbc1 (diff)
Migrate build target markers to keyboard.json - R (#23542)
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)14
-rw-r--r--keyboards/ristretto/rules.mk14
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 @@
1/* Copyright 2021 Brandon Lewis
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
20#define LOCKING_SUPPORT_ENABLE
21
22/* Locking resynchronize hack */
23#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 @@
8 "pid": "0x7273", 8 "pid": "0x7273",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "features": {
12 "bootmagic": false,
13 "encoder": true,
14 "extrakey": true,
15 "mousekey": false,
16 "nkro": true,
17 "oled": true
18 },
19 "qmk": {
20 "locking": {
21 "enabled": true,
22 "resync": true
23 }
24 },
11 "matrix_pins": { 25 "matrix_pins": {
12 "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "B7", "F0", "F1", "F4", "F5", "F6", "F7"], 26 "cols": ["C7", "C6", "B6", "B5", "B4", "D7", "B7", "F0", "F1", "F4", "F5", "F6", "F7"],
13 "rows": ["B1", "B2", "B3", "D3"] 27 "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 @@
1# Build Options
2# change yes to no to disable
3#
4BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
5MOUSEKEY_ENABLE = no # Mouse keys
6EXTRAKEY_ENABLE = yes # Audio control and System control
7CONSOLE_ENABLE = no # Console for debug
8COMMAND_ENABLE = no # Commands for debug and configuration
9NKRO_ENABLE = yes # Enable N-Key Rollover
10BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
11RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
12AUDIO_ENABLE = no # Audio output
13ENCODER_ENABLE = yes
14OLED_ENABLE = yes
15WAIT_FOR_USB = yes WAIT_FOR_USB = yes