mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-16 05:24:50 +00:00
acd02e4469
* added usb c model m * added readme * Update keyboards/ashpil/modelm_usbc/rules.mk * Update keyboards/ashpil/modelm_usbc/rules.mk * Update keyboards/ashpil/modelm_usbc/rules.mk * Update keyboards/ashpil/modelm_usbc/rules.mk * Update keyboards/ashpil/modelm_usbc/rules.mk * Update keyboards/ashpil/modelm_usbc/rules.mk * cleaned up code * removed combo from keymap * added reset to default * Update keyboards/ashpil/modelm_usbc/rules.mk * bootmagic and simplifying default * Update rules.mk * removed duplicates * updated readme * Update keyboards/ashpil/modelm_usbc/README.md * Update modelm_usbc.h * Update keyboards/ashpil/modelm_usbc/keymaps/default/keymap.c * Update keyboards/ashpil/modelm_usbc/keymaps/default/keymap.c * Update keyboards/ashpil/modelm_usbc/keymaps/default/keymap.c * full support for either ANSI or ISO * Update keyboards/ashpil/modelm_usbc/info.json * Update keyboards/ashpil/modelm_usbc/info.json * Update keyboards/ashpil/modelm_usbc/info.json * Resize the ISO Enter key * ANSI Enter and Left Shift keys resize
64 lines
4.1 KiB
C
64 lines
4.1 KiB
C
/* Copyright 2019 ashpil
|
|
*
|
|
* 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 "quantum.h"
|
|
|
|
/* This a shortcut to help you visually see your layout.
|
|
* The first section contains "names" for physical keys of the keyboard
|
|
* and defines their position on the board.
|
|
* The second section defines position of the keys on the switch matrix
|
|
* (where COLUMNS and ROWS crosses). */
|
|
|
|
#define LAYOUT_fullsize_ansi_wkl( \
|
|
K5A, K5B, K5C, K5D, K5E, K5F, K5G, K5H, K5I, K5J, K5K, K5L, K5M, K5N, K5O, K5P, \
|
|
\
|
|
K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4N, K4O, K4P, K4Q, K4R, K4S, K4T, K4U, \
|
|
K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3N, K3O, K3P, K3Q, K3R, K3S, K3T, K3U, \
|
|
K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, K2N, K2O, K2P, K2Q, \
|
|
K1A, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L, K1M, K1N, K1O, K1P, K1Q, K1R, \
|
|
K0A, K0B, K0C, K0D, K0E, K0F, K0G, K0H, K0I, K0J \
|
|
) \
|
|
{ \
|
|
{ KC_NO, KC_NO, K5A, KC_NO, K5E, K2F, K5F, K2G, K5G, KC_NO, K2L, KC_NO, K0I, K0J, K1N, K0B }, \
|
|
{ KC_NO, K1A, K3A, K2A, K5D, K3F, K4N, K3G, K3M, K5H, K3L, K2O, K2P, K2Q, KC_NO, KC_NO }, \
|
|
{ K0A, KC_NO, K4A, K5B, K5C, K4F, K5J, K4G, K4M, K5I, K4L, K3O, K4O, K4Q, K4P, KC_NO }, \
|
|
{ KC_NO, KC_NO, K4B, K4C, K4D, K4E, K5K, K4H, K4I, K4J, K4K, K5L, K5M, K3Q, K3P, K5N }, \
|
|
{ KC_NO, KC_NO, K3B, K3C, K3D, K3E, KC_NO, K3H, K3I, K3J, K3K, K3R, K3S, K3T, K3U, K5O }, \
|
|
{ KC_NO, KC_NO, K2B, K2C, K2D, K2E, K3N, K2H, K2I, K2J, K2K, K1O, K1P, K1Q, K1R, KC_NO }, \
|
|
{ K0E, K1M, K1C, K1D, K1E, K1F, K2N, K1I, K1J, K1K, KC_NO, K4R, K4S, K4T, K5P, KC_NO }, \
|
|
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K1G, K0C, K1H, KC_NO, KC_NO, K1L, K0G, K0H, K4U, K0F, K0D } \
|
|
}
|
|
|
|
#define LAYOUT_fullsize_iso_wkl( \
|
|
K5A, K5B, K5C, K5D, K5E, K5F, K5G, K5H, K5I, K5J, K5K, K5L, K5M, K5N, K5O, K5P, \
|
|
\
|
|
K4A, K4B, K4C, K4D, K4E, K4F, K4G, K4H, K4I, K4J, K4K, K4L, K4M, K4N, K4O, K4P, K4Q, K4R, K4S, K4T, K4U, \
|
|
K3A, K3B, K3C, K3D, K3E, K3F, K3G, K3H, K3I, K3J, K3K, K3L, K3M, K3O, K3P, K3Q, K3R, K3S, K3T, K3U, \
|
|
K2A, K2B, K2C, K2D, K2E, K2F, K2G, K2H, K2I, K2J, K2K, K2L, K2M, K2N, K2O, K2P, K2Q, \
|
|
K1A, K1B, K1C, K1D, K1E, K1F, K1G, K1H, K1I, K1J, K1K, K1L, K1M, K1N, K1O, K1P, K1Q, K1R, \
|
|
K0A, K0B, K0C, K0D, K0E, K0F, K0G, K0H, K0I, K0J \
|
|
) \
|
|
{ \
|
|
{ KC_NO, KC_NO, K5A, K1B, K5E, K2F, K5F, K2G, K5G, KC_NO, K2L, KC_NO, K0I, K0J, K1N, K0B }, \
|
|
{ KC_NO, K1A, K3A, K2A, K5D, K3F, K4N, K3G, K3M, K5H, K3L, K2O, K2P, K2Q, KC_NO, KC_NO }, \
|
|
{ K0A, KC_NO, K4A, K5B, K5C, K4F, K5J, K4G, K4M, K5I, K4L, K3O, K4O, K4Q, K4P, KC_NO }, \
|
|
{ KC_NO, KC_NO, K4B, K4C, K4D, K4E, K5K, K4H, K4I, K4J, K4K, K5L, K5M, K3Q, K3P, K5N }, \
|
|
{ KC_NO, KC_NO, K3B, K3C, K3D, K3E, KC_NO, K3H, K3I, K3J, K3K, K3R, K3S, K3T, K3U, K5O }, \
|
|
{ KC_NO, KC_NO, K2B, K2C, K2D, K2E, KC_NO, K2H, K2I, K2J, K2K, K1O, K1P, K1Q, K1R, KC_NO }, \
|
|
{ K0E, K1M, K1C, K1D, K1E, K1F, K2N, K1I, K1J, K1K, K2M, K4R, K4S, K4T, K5P, KC_NO }, \
|
|
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, K1G, K0C, K1H, KC_NO, KC_NO, K1L, K0G, K0H, K4U, K0F, K0D } \
|
|
}
|