diff options
Diffstat (limited to 'keyboards/bpiphany/four_banger')
-rw-r--r-- | keyboards/bpiphany/four_banger/config.h | 11 | ||||
-rw-r--r-- | keyboards/bpiphany/four_banger/four_banger.c | 1 | ||||
-rw-r--r-- | keyboards/bpiphany/four_banger/four_banger.h | 11 | ||||
-rw-r--r-- | keyboards/bpiphany/four_banger/info.json | 16 |
4 files changed, 12 insertions, 27 deletions
diff --git a/keyboards/bpiphany/four_banger/config.h b/keyboards/bpiphany/four_banger/config.h index 63a1f97726..2dae864ddb 100644 --- a/keyboards/bpiphany/four_banger/config.h +++ b/keyboards/bpiphany/four_banger/config.h @@ -1,21 +1,11 @@ #pragma once - -/* key matrix pins */ -#define MATRIX_ROW_PINS { B2, B6 } -#define MATRIX_COL_PINS { B5, B4 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* 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 -#define RGB_DI_PIN E6 -#ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL @@ -30,4 +20,3 @@ #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 -#endif diff --git a/keyboards/bpiphany/four_banger/four_banger.c b/keyboards/bpiphany/four_banger/four_banger.c deleted file mode 100644 index 20aefb61d9..0000000000 --- a/keyboards/bpiphany/four_banger/four_banger.c +++ /dev/null @@ -1 +0,0 @@ -#include "four_banger.h"
\ No newline at end of file diff --git a/keyboards/bpiphany/four_banger/four_banger.h b/keyboards/bpiphany/four_banger/four_banger.h deleted file mode 100644 index 1d735a1f0f..0000000000 --- a/keyboards/bpiphany/four_banger/four_banger.h +++ /dev/null @@ -1,11 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT_ortho_2x2( \ - k00, k01, \ - k10, k11 \ -) { \ - { k00, k01 }, \ - { k10, k11 } \ -} diff --git a/keyboards/bpiphany/four_banger/info.json b/keyboards/bpiphany/four_banger/info.json index cb9b7d148d..ce9b4a7ec5 100644 --- a/keyboards/bpiphany/four_banger/info.json +++ b/keyboards/bpiphany/four_banger/info.json @@ -8,16 +8,24 @@ "pid": "0x2004", "device_version": "0.0.1" }, + "ws2812": { + "pin": "E6" + }, + "matrix_pins": { + "cols": ["B5", "B4"], + "rows": ["B2", "B6"] + }, + "diode_direction": "COL2ROW", "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { "LAYOUT_ortho_2x2": { "layout": [ - {"x":0, "y":0}, - {"x":1, "y":0}, + {"matrix": [0, 0], "x": 0, "y": 0}, + {"matrix": [0, 1], "x": 1, "y": 0}, - {"x":0, "y":1}, - {"x":1, "y":1} + {"matrix": [1, 0], "x": 0, "y": 1}, + {"matrix": [1, 1], "x": 1, "y": 1} ] } } |