hex-keyboard or not. small 10x10cm 5x5 keys programmable keyboard
small brother of https://dev.sigpipe.me/DashieElectronics/dashie-keys
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.4 KiB

/* Copyright 2017 dashie <dashie@sigpipe.me>
* 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
* 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/>.
#include "quantum.h"
// This a shortcut to help you visually see your layout.
// The first section contains all of the arguments
// The second converts the arguments into a two-dimensional array
#define KEYMAP( \
K000, K001, K002, K003, K004, \
K005, K006, K007, K008, K009, \
K010, K011, K012, K013, K014, \
K015, K016, K017, K019, K020, \
K021, K022, K023, K024, K025 \
) \
{ \
{ K000, K001, K002, K003, K004 }, \
{ K005, K006, K007, K008, K009 }, \
{ K010, K011, K012, K013, K014 }, \
{ K015, K016, K017, K019, K020 }, \
{ K021, K022, K023, K024, K025 } \