qmk-firmware/keyboards/runner3680/5x6_5x8/5x6_5x8.h
Derek Hsu 093d5c9991
[Keyboard] Add Runner3680 with 5x6+5x8 layout (#14617)
* [Keyboard] Add Runner3680 keyboard with 5x6 + 5x8 layout

* [Keymap] Use general audio key codes instead of MacOS specific ones

* [Keymap] Add via support

* [Keyboard] Add config for RGB Matrix feature for runner3680 5x6+5x8 layout

* Add license to .c and .h files

* Remove unused code

* [Keymap] Rename 'JIS' directory to be lower cased

* [Keyboard] Explicitly define enabled RGB lighting effects for Runner3680

* [Keyboard] Remove unused code of Runner3680

* [Keyboard] Move RGB Matrix related config to keyboard's rules.mk file

* [Keymap] Clean up default keymaps of Runner3680
2021-12-27 13:39:57 +11:00

42 lines
1.6 KiB
C

/* Copyright 2021 omkbd
*
* 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
#include "runner3680.h"
#include "quantum.h"
#define LAYOUT( \
L02, L03, L04, L05, L06, L07, R00, R01, R02, R03, R04, R05, R06, R07, \
L12, L13, L14, L15, L16, L17, R10, R11, R12, R13, R14, R15, R16, R17, \
L22, L23, L24, L25, L26, L27, R20, R21, R22, R23, R24, R25, R26, R27, \
L32, L33, L34, L35, L36, L37, R30, R31, R32, R33, R34, R35, R36, R37, \
L42, L43, L44, L45, L46, L47, R40, R41, R42, R43, R44, R45, R46, R47 \
) \
{ \
{ KC_NO, KC_NO, L02, L03, L04, L05, L06, L07 }, \
{ KC_NO, KC_NO, L12, L13, L14, L15, L16, L17 }, \
{ KC_NO, KC_NO, L22, L23, L24, L25, L26, L27 }, \
{ KC_NO, KC_NO, L32, L33, L34, L35, L36, L37 }, \
{ KC_NO, KC_NO, L42, L43, L44, L45, L46, L47 }, \
{ R07, R06, R05, R04, R03, R02, R01, R00 }, \
{ R17, R16, R15, R14, R13, R12, R11, R10 }, \
{ R27, R26, R25, R24, R23, R22, R21, R20 }, \
{ R37, R36, R35, R34, R33, R32, R31, R30 }, \
{ R47, R46, R45, R44, R43, R42, R41, R40 } \
}