2018-07-07 02:45:07 +02:00
|
|
|
/*
|
|
|
|
Copyright 2018 MechMerlin
|
|
|
|
|
|
|
|
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/>.
|
|
|
|
*/
|
|
|
|
|
2021-08-15 07:19:01 +02:00
|
|
|
#pragma once
|
2018-07-07 02:45:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* key matrix size */
|
2022-03-14 23:05:39 +01:00
|
|
|
#define MATRIX_ROWS 6
|
|
|
|
#define MATRIX_COLS 16
|
2018-07-07 02:45:07 +02:00
|
|
|
|
2022-03-15 01:38:53 +01:00
|
|
|
#define MATRIX_ROW_PINS { C7, B1, B2, C6, B4, B5 }
|
|
|
|
|
|
|
|
#define SN74X154_ADDRESS_PINS { D4, D5, D6, D7 }
|
|
|
|
#define SN74X154_E1_PIN D3
|
|
|
|
|
2020-11-21 20:11:24 +01:00
|
|
|
#define LED_NUM_LOCK_PIN D0
|
|
|
|
#define LED_CAPS_LOCK_PIN B7
|
|
|
|
#define LED_SCROLL_LOCK_PIN D1
|
|
|
|
#define LED_PIN_ON_STATE 0
|
|
|
|
|
2018-07-07 02:45:07 +02:00
|
|
|
#define BACKLIGHT_PIN B6
|
|
|
|
#define BACKLIGHT_LEVELS 3
|
2021-08-15 07:19:01 +02:00
|
|
|
#define BACKLIGHT_BREATHING
|
2018-07-07 02:45:07 +02: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
|
|
|
|
|
|
|
|
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
|
2021-08-15 07:19:01 +02:00
|
|
|
* This is useful for the Windows task manager shortcut (ctrl+shift+esc).
|
2018-07-07 02:45:07 +02:00
|
|
|
*/
|
2021-08-15 07:19:01 +02:00
|
|
|
//#define GRAVE_ESC_CTRL_OVERRIDE
|
2018-07-07 02:45:07 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 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
|