diff options
author | Noan Mousy <[email protected]> | 2019-12-13 15:39:10 +0100 |
---|---|---|
committer | MechMerlin <[email protected]> | 2019-12-13 06:39:10 -0800 |
commit | 20d3a979f1999fcc27a47e4f32533fb8e8b633a0 (patch) | |
tree | 5e8168cde7773affb1b10254eb9627d17b2eac48 /keyboards/handwired/aek64/config.h | |
parent | 2d1c985ff44ecfe54fe82021e0326b3c7b07db9f (diff) | |
download | qmk_firmware-20d3a979f1999fcc27a47e4f32533fb8e8b633a0.tar.gz qmk_firmware-20d3a979f1999fcc27a47e4f32533fb8e8b633a0.zip |
Adding Backlight on the handwired AEK64 keyboard (#7629)
* Implementing backlight with breathing
* Rework of my personal keymap and adding some macros.
Diffstat (limited to 'keyboards/handwired/aek64/config.h')
-rw-r--r-- | keyboards/handwired/aek64/config.h | 34 |
1 files changed, 7 insertions, 27 deletions
diff --git a/keyboards/handwired/aek64/config.h b/keyboards/handwired/aek64/config.h index 45ce6665bc..7d235358c3 100644 --- a/keyboards/handwired/aek64/config.h +++ b/keyboards/handwired/aek64/config.h @@ -27,27 +27,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define PRODUCT AEK64 #define DESCRIPTION QMK keyboard firmware for AEK64 handwired +/* Define the backlight */ +/*#define BACKLIGHT_ON_STATE 1*/ + /* key matrix size */ #define MATRIX_ROWS 5 #define MATRIX_COLS 14 // Originally made for a Teensy 2++ -#define MATRIX_COL_PINS { F0, E6, E7, B0, B1, B2, B3, B4, B5, B6, B7, D0, D1, D2 } +#define MATRIX_COL_PINS { F0, E6, E7, B0, B1, B2, B3, B4, B5, B6, D3, D0, D1, D2 } #define MATRIX_ROW_PINS { E0, E1, C0, C1, C2 } #define UNUSED_PINS -/* define if matrix has ghost */ -//#define MATRIX_HAS_GHOST - /* 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 - /* Enable the space-cadet options */ #define RSPC_KEYS KC_RSFT, KC_TRNS, KC_PGUP #define RCPC_KEYS KC_RCTL, KC_TRNS, KC_PGDOWN @@ -59,20 +53,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define COMBO_COUNT 1 -/* - * 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 +#define BACKLIGHT_PIN B7 +#define BACKLIGHT_BREATHING +#define BACKLIGHT_LEVELS 5 |