diff options
author | Evan Travers <evantravers@gmail.com> | 2020-10-09 01:17:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 23:17:25 -0700 |
commit | cd0e32ff9ec5d33d911832c1ea716acb900b564d (patch) | |
tree | 63cbbe387210a827094e312a8dcd744910d53c32 /keyboards/keyboardio/atreus/config.h | |
parent | 7229997e7d7e3519c09774020c7f3979541ea761 (diff) | |
download | qmk_firmware-cd0e32ff9ec5d33d911832c1ea716acb900b564d.tar.gz |
[Keyboard] Keyboardio Atreus (#10570)
* Initial support for the Keyboardio Atreus
Many thanks to noroadsleft for reviews & suggestions.
* Add QMK Configurator layout support
* Update the fn layer of the Keyboardio Atreus to the new layout.
Previously this was using the Classic Atreus layout.
* Implement noroadleft's changes from #8492
* Follow Erovia's recommendations
qmk/qmk_firmware#8492
* Correct braces
* Change correct rules.mk
* Remove comments
* Fix BOOTMAGIC_ENABLE
I had edited the wrong file earlier.
* Remove comment
* Updates rules.mk
Thank you noroadsleft.
Co-authored-by: Gergely Nagy <algernon@keyboard.io>
Co-authored-by: Phil Hagelberg <phil@hagelb.org>
Diffstat (limited to 'keyboards/keyboardio/atreus/config.h')
-rw-r--r-- | keyboards/keyboardio/atreus/config.h | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/keyboards/keyboardio/atreus/config.h b/keyboards/keyboardio/atreus/config.h new file mode 100644 index 000000000..fb3a48e58 --- /dev/null +++ b/keyboards/keyboardio/atreus/config.h @@ -0,0 +1,81 @@ +/* Copyright (C) 2019, 2020 Keyboard.io, Inc + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ + +#define VENDOR_ID 0x1209 +#define PRODUCT_ID 0x2303 +#define DEVICE_VER 0x0000 +#define MANUFACTURER Keyboardio +#define PRODUCT Atreus + +/* key matrix size */ +#define MATRIX_ROWS 4 +#define MATRIX_COLS 12 + +/* define if matrix has ghost */ +//#define MATRIX_HAS_GHOST + +/* number of backlight levels */ +//#define BACKLIGHT_LEVELS 3 + +/* Set 0 if debouncing isn't 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 */ +#define LOCKING_RESYNC_ENABLE + +/* + * Keyboard Matrix Assignments + * + * Change this to how you wired your keyboard + * COLS: AVR pins used for columns, left to right + * ROWS: AVR pins used for rows, top to bottom + * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) + * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) + * + */ + +#define MATRIX_ROW_PINS { F6, F5, F4, F1 } +#define MATRIX_COL_PINS { F7, E2, C7, C6, B6, B5, D7, D6, D4, D5, D3, D2 } +#define UNUSED_PINS + +/* COL2ROW, ROW2COL*/ +#define DIODE_DIRECTION COL2ROW + +/* + * 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 +//#define NO_ACTION_MACRO +//#define NO_ACTION_FUNCTION |