diff options
Diffstat (limited to 'keyboards/z12')
-rw-r--r-- | keyboards/z12/config.h | 18 | ||||
-rw-r--r-- | keyboards/z12/info.json | 10 | ||||
-rw-r--r-- | keyboards/z12/keymaps/zigotica/config.h | 1 | ||||
-rw-r--r-- | keyboards/z12/rules.mk | 6 |
4 files changed, 10 insertions, 25 deletions
diff --git a/keyboards/z12/config.h b/keyboards/z12/config.h index 57b31e7c8b..6ee032f5c8 100644 --- a/keyboards/z12/config.h +++ b/keyboards/z12/config.h @@ -16,28 +16,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "config_common.h" #define ENCODERS_PAD_A { B5, B6 } #define ENCODERS_PAD_B { B4, B2 } -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 4 - -/*Keyboard Matrix Assignments */ - -#define DIRECT_PINS { \ - { NO_PIN, E6, C6, NO_PIN }, \ - { D2, D7, D4, D3 }, \ - { F7, B1, B3, NO_PIN }, \ - { F6, F5, F4, NO_PIN } \ -} - - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE /* Locking resynchronize hack */ diff --git a/keyboards/z12/info.json b/keyboards/z12/info.json index 7aa53d9a5c..baed03f0fe 100644 --- a/keyboards/z12/info.json +++ b/keyboards/z12/info.json @@ -8,6 +8,16 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "processor": "atmega32u4", + "bootloader": "caterina", + "matrix_pins": { + "direct": [ + [null, "E6", "C6", null], + ["D2", "D7", "D4", "D3"], + ["F7", "B1", "B3", null], + ["F6", "F5", "F4", null] + ] + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/z12/keymaps/zigotica/config.h b/keyboards/z12/keymaps/zigotica/config.h index fbab76d5f0..eaae9053d1 100644 --- a/keyboards/z12/keymaps/zigotica/config.h +++ b/keyboards/z12/keymaps/zigotica/config.h @@ -16,7 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "config_common.h" #ifdef OLED_ENABLE #define OLED_DISPLAY_128X32 diff --git a/keyboards/z12/rules.mk b/keyboards/z12/rules.mk index fe67be276f..65ce7f2dea 100644 --- a/keyboards/z12/rules.mk +++ b/keyboards/z12/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = caterina - # Build Options # change yes to no to disable # |