mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-15 08:25:01 +00:00
66 lines
1.8 KiB
C
66 lines
1.8 KiB
C
/*
|
|
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/>.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
/* key matrix size */
|
|
#define MATRIX_ROWS 6
|
|
#define MATRIX_COLS 16
|
|
|
|
#define MATRIX_ROW_PINS { C7, B1, B2, C6, B4, B5 }
|
|
|
|
#define SN74X154_ADDRESS_PINS { D4, D5, D6, D7 }
|
|
#define SN74X154_E1_PIN D3
|
|
|
|
#define LED_NUM_LOCK_PIN D0
|
|
#define LED_CAPS_LOCK_PIN B7
|
|
#define LED_SCROLL_LOCK_PIN D1
|
|
#define LED_PIN_ON_STATE 0
|
|
|
|
#define BACKLIGHT_PIN B6
|
|
#define BACKLIGHT_LEVELS 3
|
|
#define BACKLIGHT_BREATHING
|
|
|
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not 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
|
|
|
|
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
|
|
* This is useful for the Windows task manager shortcut (ctrl+shift+esc).
|
|
*/
|
|
//#define GRAVE_ESC_CTRL_OVERRIDE
|
|
|
|
/*
|
|
* 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
|