2019-07-16 18:39:39 +02:00
|
|
|
/*
|
2021-09-22 02:12:57 +02:00
|
|
|
Copyright 2021 Salicylic_Acid
|
2019-07-16 18:39:39 +02: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/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
/* key matrix size */
|
|
|
|
#define MATRIX_ROWS 8
|
2019-10-20 21:03:46 +02:00
|
|
|
#define MATRIX_COLS 12
|
2019-07-16 18:39:39 +02:00
|
|
|
|
|
|
|
// wiring of each half
|
2019-10-20 21:03:46 +02:00
|
|
|
#define MATRIX_ROW_PINS { D1, D0, D4, C6 }
|
2019-07-16 18:39:39 +02:00
|
|
|
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, D7, E6, B4, B5 }
|
2019-10-20 21:03:46 +02:00
|
|
|
// When using Nafuda, comment out MATRIX_ROW_PINS_RIGHT and MATRIX_COL_PINS_RIGHT.
|
|
|
|
#define MATRIX_ROW_PINS_RIGHT { D4, C6, D7, E6 }
|
|
|
|
#define MATRIX_COL_PINS_RIGHT { F4, F5, F6, F7, B1, B3, B2, B6, B4, B5, B2, B2 }
|
2019-07-16 18:39:39 +02:00
|
|
|
|
2020-01-19 04:11:57 +01:00
|
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
|
2019-07-16 18:39:39 +02:00
|
|
|
/* Set 0 if debouncing isn't needed */
|
|
|
|
#define DEBOUNCE 5
|
|
|
|
|
2019-10-20 21:03:46 +02:00
|
|
|
/* serial.c configuration for split keyboard */
|
|
|
|
#define SOFT_SERIAL_PIN D2
|
|
|
|
|
2019-07-16 18:39:39 +02:00
|
|
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
2019-10-20 21:03:46 +02:00
|
|
|
#define LOCKING_SUPPORT_ENABLE
|
2019-07-16 18:39:39 +02:00
|
|
|
/* Locking resynchronize hack */
|
2019-10-20 21:03:46 +02:00
|
|
|
#define LOCKING_RESYNC_ENABLE
|
2019-07-16 18:39:39 +02:00
|
|
|
|
|
|
|
/* ws2812 RGB LED */
|
|
|
|
#define RGB_DI_PIN D3
|
2019-10-23 19:18:59 +02:00
|
|
|
|
|
|
|
#ifndef RGBLED_NUM
|
|
|
|
#define RGBLED_NUM 48
|
|
|
|
#endif
|
|
|
|
|
2019-10-20 21:03:46 +02:00
|
|
|
#define RGBLIGHT_ANIMATIONS
|
2022-03-08 03:45:28 +01:00
|
|
|
#define RGBLIGHT_DEFAULT_VAL 50
|
2019-07-16 18:39:39 +02:00
|
|
|
|
|
|
|
#define RGBLIGHT_HUE_STEP 10
|
|
|
|
#define RGBLIGHT_SAT_STEP 17
|