mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-11 12:20:55 +00:00
4d31c51725
Affects: - `dailycraft/owl8` - `dailycraft/sandbox/rev1` - `dailycraft/sandbox/rev2` - `dailycraft/stickey4` - `dailycraft/wings42/rev1` - `dailycraft/wings42/rev1_extkeys` - `dailycraft/wings42/rev2` - `daji/seis_cinco` - `dark/magnum_ergo_1` - `darkproject/kd83a_bfg_edition` - `darkproject/kd87a_bfg_edition` - `dc01/arrow` - `dc01/left` - `dc01/numpad` - `dc01/right` - `dcpedit/redherring` - `delikeeb/flatbread60` - `delikeeb/vaguettelite` - `delikeeb/vanana/rev1` - `delikeeb/vanana/rev2` - `delikeeb/vaneela` - `delikeeb/vaneelaex` - `delikeeb/waaffle/rev3/elite_c` - `delikeeb/waaffle/rev3/pro_micro` - `deltapad` - `deltasplit75/v2` - `dk60` - `dm9records/lain` - `dm9records/plaid` - `dm9records/tartan` - `dmqdesign/spin`
40 lines
1.2 KiB
C
40 lines
1.2 KiB
C
/*
|
|
Copyright 2018 Yiancar
|
|
|
|
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 5
|
|
#define MATRIX_COLS 8
|
|
|
|
/*
|
|
* 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 { C7, C6, B6, B5, B4 }
|
|
#define MATRIX_COL_PINS { F1, E6, F6, F5, F4, D4, D6, D7 }
|
|
|
|
/* COL2ROW, ROW2COL*/
|
|
#define DIODE_DIRECTION COL2ROW
|