diff options
author | Nick Brassel <nick@tzarc.org> | 2023-02-28 11:22:29 +1100 |
---|---|---|
committer | Nick Brassel <nick@tzarc.org> | 2023-02-28 11:22:29 +1100 |
commit | bacec14073b2e897d5a52caf12de5a6a1f7b4078 (patch) | |
tree | d4e3e57aac1a829a191831efd2e62c8a43217885 /keyboards/redscarf_i | |
parent | d70e9b8659a7fbbd7069fd542bd07e67e04327a1 (diff) | |
parent | b865b9e1706ad28ae4882bd2e0331e98808295fa (diff) |
Merge remote-tracking branch 'upstream/develop'
Diffstat (limited to 'keyboards/redscarf_i')
-rw-r--r-- | keyboards/redscarf_i/config.h | 12 | ||||
-rw-r--r-- | keyboards/redscarf_i/info.json | 6 | ||||
-rw-r--r-- | keyboards/redscarf_i/rules.mk | 8 |
3 files changed, 6 insertions, 20 deletions
diff --git a/keyboards/redscarf_i/config.h b/keyboards/redscarf_i/config.h index 494afb5e2b..c9ee89dbe8 100644 --- a/keyboards/redscarf_i/config.h +++ b/keyboards/redscarf_i/config.h @@ -17,19 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "config_common.h" -/* Matrix */ -#define MATRIX_ROWS 6 -#define MATRIX_COLS 4 #define MATRIX_ROW_PINS { D0, D1, D2, D3, D4, D5 } #define MATRIX_COL_PINS { F0, F1, E6, C7 } #define DIODE_DIRECTION COL2ROW - -/* Backlight */ -#define BACKLIGHT_PIN B5 -#define BACKLIGHT_LEVELS 3 -//#define BACKLIGHT_BREATHING - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5
\ No newline at end of file diff --git a/keyboards/redscarf_i/info.json b/keyboards/redscarf_i/info.json index fb4341f78f..620c7e457a 100644 --- a/keyboards/redscarf_i/info.json +++ b/keyboards/redscarf_i/info.json @@ -8,6 +8,12 @@ "pid": "0x5959", "device_version": "0.0.1" }, + "backlight": { + "pin": "B5" + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "community_layouts": ["ortho_5x4", "ortho_6x4", "numpad_5x4", "numpad_6x4"], "layouts": { "LAYOUT_ortho_5x4": { "layout": [ diff --git a/keyboards/redscarf_i/rules.mk b/keyboards/redscarf_i/rules.mk index 96b80642ad..887d6344d7 100644 --- a/keyboards/redscarf_i/rules.mk +++ b/keyboards/redscarf_i/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - # Build Options # change yes to no to disable # @@ -15,5 +9,3 @@ COMMAND_ENABLE = no # Commands for debug and configuration BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output - -LAYOUTS = ortho_5x4 ortho_6x4 numpad_5x4 numpad_6x4 |