2023-02-08 05:54:27 +01:00
|
|
|
// Copyright 2017-2021 QMK
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2020-12-24 23:53:16 +01:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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 { B0, B1, B2, B3, B7 }
|
|
|
|
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, F7, F6, F5, F4, F1, F0 }
|
|
|
|
|
2023-02-08 05:54:27 +01:00
|
|
|
/* COL2ROW or ROW2COL */
|
2020-12-24 23:53:16 +01:00
|
|
|
#define DIODE_DIRECTION ROW2COL
|
2021-06-04 02:30:32 +02:00
|
|
|
|
2023-02-08 05:54:27 +01:00
|
|
|
/* number of backlight levels */
|
2020-12-24 23:53:16 +01:00
|
|
|
#define BACKLIGHT_PIN B6
|
2023-02-08 05:54:27 +01:00
|
|
|
#ifdef BACKLIGHT_PIN
|
|
|
|
#define BACKLIGHT_LEVELS 3
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* 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
|
2020-12-24 23:53:16 +01:00
|
|
|
|
|
|
|
#define RGB_DI_PIN E2
|
|
|
|
#ifdef RGB_DI_PIN
|
2023-02-08 05:54:27 +01:00
|
|
|
#define RGBLIGHT_LIMIT_VAL 200
|
|
|
|
#define RGBLIGHT_DEFAULT_VAL 50
|
2022-10-15 18:55:27 +02:00
|
|
|
#define RGBLIGHT_EFFECT_BREATHING
|
|
|
|
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
|
|
|
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
|
|
|
#define RGBLIGHT_EFFECT_SNAKE
|
|
|
|
#define RGBLIGHT_EFFECT_KNIGHT
|
|
|
|
#define RGBLIGHT_EFFECT_CHRISTMAS
|
|
|
|
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
|
|
|
#define RGBLIGHT_EFFECT_RGB_TEST
|
|
|
|
#define RGBLIGHT_EFFECT_ALTERNATING
|
|
|
|
#define RGBLIGHT_EFFECT_TWINKLE
|
2023-02-08 05:54:27 +01:00
|
|
|
#define RGBLED_NUM 20
|
|
|
|
#define RGBLIGHT_HUE_STEP 8
|
|
|
|
#define RGBLIGHT_SAT_STEP 8
|
|
|
|
#define RGBLIGHT_VAL_STEP 8
|
|
|
|
/* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
|
|
|
#define RGBLIGHT_SLEEP
|
2021-05-27 06:03:10 +02:00
|
|
|
|
|
|
|
#endif
|