From 59c7b15b4da6e9325b7af6bd34fc4cb557ebb184 Mon Sep 17 00:00:00 2001 From: jack <0x6A73@pm.me> Date: Mon, 18 Jul 2022 20:20:24 -0600 Subject: [Keyboard] boardsource/microdox data driven (#17675) --- keyboards/boardsource/microdox/v1/config.h | 20 ++++++++++++++++++++ keyboards/boardsource/microdox/v1/info.json | 25 +++++++++++++++++++++++++ keyboards/boardsource/microdox/v1/rules.mk | 1 + 3 files changed, 46 insertions(+) create mode 100644 keyboards/boardsource/microdox/v1/config.h create mode 100644 keyboards/boardsource/microdox/v1/info.json create mode 100644 keyboards/boardsource/microdox/v1/rules.mk (limited to 'keyboards/boardsource/microdox/v1') diff --git a/keyboards/boardsource/microdox/v1/config.h b/keyboards/boardsource/microdox/v1/config.h new file mode 100644 index 0000000000..111033dd67 --- /dev/null +++ b/keyboards/boardsource/microdox/v1/config.h @@ -0,0 +1,20 @@ +// Copyright 2022 jack (@waffle87) +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT diff --git a/keyboards/boardsource/microdox/v1/info.json b/keyboards/boardsource/microdox/v1/info.json new file mode 100644 index 0000000000..a79153a73c --- /dev/null +++ b/keyboards/boardsource/microdox/v1/info.json @@ -0,0 +1,25 @@ +{ + "features": { + "rgblight": true + }, + "matrix_pins": { + "cols": ["F4", "F5", "F6", "F7", "B1"], + "rows": ["B2", "B6", "B4", "B5"] + }, + "usb": { + "device_version": "1.0.0" + }, + "split": { + "soft_serial_pin": "D2" + }, + "rgblight": { + "pin": "D3", + "sleep": true, + "led_count": 12, + "split_count": [6, 6], + "max_brightness": 150, + "animations": { + "all": true + } + } +} diff --git a/keyboards/boardsource/microdox/v1/rules.mk b/keyboards/boardsource/microdox/v1/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/boardsource/microdox/v1/rules.mk @@ -0,0 +1 @@ +# This file intentionally left blank -- cgit v1.2.3 From 9e242621611ac97a9fe8f12133812019af41e072 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Fri, 9 Sep 2022 21:21:48 +0100 Subject: Fix DD use within boardsource/microdox (#18319) --- keyboards/boardsource/microdox/v1/config.h | 16 +--------------- keyboards/boardsource/microdox/v1/info.json | 4 ++-- 2 files changed, 3 insertions(+), 17 deletions(-) (limited to 'keyboards/boardsource/microdox/v1') diff --git a/keyboards/boardsource/microdox/v1/config.h b/keyboards/boardsource/microdox/v1/config.h index 111033dd67..01b894afd6 100644 --- a/keyboards/boardsource/microdox/v1/config.h +++ b/keyboards/boardsource/microdox/v1/config.h @@ -3,18 +3,4 @@ #pragma once -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* disable debug print */ -//#define NO_DEBUG - -/* disable print */ -//#define NO_PRINT - -/* disable action features */ -//#define NO_ACTION_LAYER -//#define NO_ACTION_TAPPING -//#define NO_ACTION_ONESHOT +// Just here to please quantum/split_common/split_util.c diff --git a/keyboards/boardsource/microdox/v1/info.json b/keyboards/boardsource/microdox/v1/info.json index a79153a73c..85f2e61457 100644 --- a/keyboards/boardsource/microdox/v1/info.json +++ b/keyboards/boardsource/microdox/v1/info.json @@ -2,7 +2,7 @@ "features": { "rgblight": true }, - "matrix_pins": { + "matrix_pins": { "cols": ["F4", "F5", "F6", "F7", "B1"], "rows": ["B2", "B6", "B4", "B5"] }, @@ -12,7 +12,7 @@ "split": { "soft_serial_pin": "D2" }, - "rgblight": { + "rgblight": { "pin": "D3", "sleep": true, "led_count": 12, -- cgit v1.2.3