qmk-keychron-q3-colemak-dh/keyboards/kmac_happy/config.h
nlnjnj e3687aed3b
Add keyboards: KMAC Happy, JER J80 & Porting to Vial. (#670)
* Add keyboard: KMAC Happy & Porting to Vial.

* Add Vial support for keyboard: JER J80.

* Revert info.json

* Revert keymap.c

* Revert keymap.c

* remove defaults in rules.mk

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

* add layer count in config.h

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

* remove QMKBEST codes

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

* remove hardcode in keymap.c

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

* remove QMKBEST codes

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

* remove hardcode in keymap.c

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

* Revert readme.md

* Revert rules.mk

* enable MOUSEKEY as defaults

---------

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
2024-04-27 16:53:47 -06:00

34 lines
1.1 KiB
C

/* Copyright 2024 nlnjnj
*
* 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 15
/*
* Keyboard Matrix Assignments
* The KMAC uses a demultiplexer for some of the cols.
* See matrix.c for more details.
*/
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
#define MATRIX_COL_PINS { }
/* 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