diff options
author | obosob <[email protected]> | 2021-06-24 03:51:15 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-24 12:51:15 +1000 |
commit | 3cc037d8d86a148a8a61e594ad87766f9d0ddbd5 (patch) | |
tree | 9a1d3196086c476561a53c71bb16dd214ac0bdde /keyboards/steal_this_keyboard/steal_this_keyboard.h | |
parent | 543dca0d890da1cd1d2ce2ebbde9c31354522829 (diff) | |
download | qmk_firmware-3cc037d8d86a148a8a61e594ad87766f9d0ddbd5.tar.gz qmk_firmware-3cc037d8d86a148a8a61e594ad87766f9d0ddbd5.zip |
Add "steal this keyboard" keybaord (#12898)
Diffstat (limited to 'keyboards/steal_this_keyboard/steal_this_keyboard.h')
-rw-r--r-- | keyboards/steal_this_keyboard/steal_this_keyboard.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/keyboards/steal_this_keyboard/steal_this_keyboard.h b/keyboards/steal_this_keyboard/steal_this_keyboard.h new file mode 100644 index 0000000000..af7204f540 --- /dev/null +++ b/keyboards/steal_this_keyboard/steal_this_keyboard.h @@ -0,0 +1,46 @@ +/* Copyright 2021 Obosob <[email protected]> + * + * 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/>. + */ + +#include "quantum.h" + +/* This a shortcut to help you visually see your layout. + * + * The first section contains all of the arguments representing the physical + * layout of the board and position of the keys. + * + * The second converts the arguments into a two-dimensional array which + * represents the switch matrix. + */ + +// readability +#define ___ KC_NO + +#define LAYOUT_split_3x5_2( \ + L01, L02, L03, L04, L05, R01, R02, R03, R04, R05, \ + L06, L07, L08, L09, L10, R06, R07, R08, R09, R10, \ + L11, L12, L13, L14, L15, R11, R12, R13, R14, R15, \ + L16, L17, R16, R17 \ + ) \ + { \ + { L01, L02, L03, L04, L05 }, \ + { L06, L07, L08, L09, L10 }, \ + { L11, L12, L13, L14, L15 }, \ + { L16, L17, ___, ___ , ___}, \ + { R01, R02, R03, R04, R05 }, \ + { R06, R07, R08, R09, R10 }, \ + { R11, R12, R13, R14, R15 }, \ + { R16, R17, ___, ___, ___ } \ + } |