2018-07-31 08:37:34 +02:00
|
|
|
/* Copyright 2012 Jun Wako <wakojun@gmail.com>: Original Configuration
|
|
|
|
* Copyright 2018 bakageta <amo@bakageta.com>
|
|
|
|
*
|
|
|
|
* 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-09-01 11:03:14 +02:00
|
|
|
#pragma once
|
2018-07-31 08:37:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
/* key matrix size */
|
|
|
|
#define MATRIX_ROWS 18
|
|
|
|
#define MATRIX_COLS 8
|
|
|
|
|
|
|
|
// HID Liberation Device uses custom matrix code to accomodate a 74HC238 3 to 8 decoder on pins B1, B2 and B3.
|
2019-02-18 17:49:51 +01:00
|
|
|
//#define DIODE_DIRECTION
|
2018-07-31 08:37:34 +02:00
|
|
|
|
2021-03-10 23:48:18 +01:00
|
|
|
#define LED_CAPS_LOCK_PIN B5
|
|
|
|
#define LED_SCROLL_LOCK_PIN B6
|
|
|
|
#define LED_PIN_ON_STATE 0
|
|
|
|
|
2018-07-31 08:37:34 +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
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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
|