2b926774ca
Affects: - `h0oni/deskpad` - `h0oni/hotduck` - `halfcliff` - `halokeys/elemental75` - `han60` - `hardlineworks/otd_plus` - `helix/rev3_4rows` - `helix/rev3_5rows` - `hfdkb/ac001` - `hidtech/bastyl` - `hineybush/h08_ocelot` - `hineybush/h10` - `hineybush/h60` - `hineybush/h65` - `hineybush/h65_hotswap` - `hineybush/h660s` - `hineybush/h75_singa` - `hineybush/h87a` - `hineybush/h88` - `hineybush/hbcp` - `hineybush/hineyg80` - `hineybush/physix` - `hineybush/sm68` - `hnahkb/freyr` - `hnahkb/stella` - `hnahkb/vn66` - `horizon` - `hotdox` - `hs60/v1`
60 lines
1.6 KiB
C
60 lines
1.6 KiB
C
/*
|
|
Copyright 2020 yushakobo
|
|
|
|
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
|
|
#define MATRIX_COLS 7
|
|
|
|
/*
|
|
* 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 { D4, C6, D7, E6 }
|
|
#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 }
|
|
|
|
/* COL2ROW, ROW2COL*/
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
/* Split hand configration */
|
|
#define SPLIT_HAND_MATRIX_GRID D7,B2
|
|
|
|
/* Custom font */
|
|
#define OLED_FONT_H "keyboards/helix/common/glcdfont.c"
|
|
|
|
/*
|
|
* 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
|