2016-12-19 00:35:03 +01:00
|
|
|
/*
|
2019-02-17 03:34:07 +01:00
|
|
|
Copyright 2019 Rodrigo Feijao <hello@rodrigofeijao.com>
|
2016-12-19 00:35:03 +01:00
|
|
|
|
|
|
|
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/>.
|
|
|
|
*/
|
|
|
|
|
2019-02-17 03:34:07 +01:00
|
|
|
#pragma once
|
2016-12-19 00:35:03 +01:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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 { D0, D1, D2, D3, D5 }
|
|
|
|
#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B7, B5, B4, D7, D6, B3 }
|
|
|
|
|
2017-02-19 06:47:11 +01:00
|
|
|
/* Backlight Setup */
|
2017-02-14 03:09:02 +01:00
|
|
|
#define BACKLIGHT_PIN F5
|
2017-02-19 06:47:11 +01:00
|
|
|
#define BACKLIGHT_LEVELS 6
|
2020-03-27 12:00:13 +01:00
|
|
|
#define BACKLIGHT_ON_STATE 0
|
2017-02-14 03:09:02 +01:00
|
|
|
|
2016-12-19 00:35:03 +01:00
|
|
|
/* COL2ROW or ROW2COL */
|
|
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
|
2017-02-14 03:09:02 +01:00
|
|
|
/* RGB Underglow
|
2019-02-17 03:34:07 +01:00
|
|
|
* F6 PIN for XD60v3 that has pre-soldered LEDs
|
2017-02-14 03:09:02 +01:00
|
|
|
*/
|
|
|
|
#define RGB_DI_PIN F6
|
2022-10-15 18:55:53 +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
|
2019-02-17 03:34:07 +01:00
|
|
|
#define RGBLED_NUM 12
|
2017-02-14 03:09:02 +01:00
|
|
|
#define RGBLIGHT_HUE_STEP 10
|
|
|
|
#define RGBLIGHT_SAT_STEP 17
|
|
|
|
#define RGBLIGHT_VAL_STEP 17
|
2016-12-19 00:35:03 +01:00
|
|
|
|
|
|
|
/* 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
|