mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-24 10:29:54 +00:00
69 lines
3.6 KiB
C
69 lines
3.6 KiB
C
|
/*
|
||
|
Copyright 2018 listofoptions <listofoptions@gmail.com>
|
||
|
|
||
|
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"
|
||
|
|
||
|
/*
|
||
|
* ,-------. ,--------------------------------------------------------------------------.
|
||
|
* | F1| F2| |Esc| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =| BS |NumLck |ScrLck |
|
||
|
* |-------| |--------------------------------------------------------------------------|
|
||
|
* | F3| F4| | Tab | Q| W| E| R| T| Y| U| I| O| P| [| ] | | 7| 8| 9| -|
|
||
|
* |-------| |------------------------------------------------------|Ent|---------------|
|
||
|
* | F5| F6| | Ctrl | A| S| D| F| G| H| J| K| L| ;| '| `| | 4| 5| 6| |
|
||
|
* |-------| |----------------------------------------------------------------------| |
|
||
|
* | F7| F8| |Shif| \| Z| X| C| V| B| N| M| ,| .| /|Shift|PrS| 1| 2| 3| +|
|
||
|
* |-------| |----------------------------------------------------------------------| |
|
||
|
* | F9|F10| | Alt | Space |CapsLck| 0 | . | |
|
||
|
* `-------' `--------------------------------------------------------------------------'
|
||
|
*/
|
||
|
|
||
|
#define LAYOUT_5291( \
|
||
|
KEY_F1,KEY_F2, KEY_ESC, KEY_1, KEY_2,KEY_3,KEY_4,KEY_5,KEY_6,KEY_7,KEY_8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_RSFS,KEY_TICK,KEY_RBRC }\
|
||
|
, {KEY_CLOCK, KEY_PAST,KEY_ENTR,KEY_BACK }\
|
||
|
, {KEY_PAD0, KEY_PAD1,KEY_PAD4,KEY_PAD7 }\
|
||
|
, {KEY_PPLS, KC_NO, KEY_PMIN,KEY_SLOCK }\
|
||
|
, {KEY_PDOT, KEY_PAD3,KEY_PAD6,KEY_PAD9 }\
|
||
|
, {KEY_BSLS, KEY_A, KEY_Q, KEY_2 }\
|
||
|
, {KEY_LALT, KC_NO, KC_NO, KEY_1 }\
|
||
|
, {KEY_F7, KEY_F5, KEY_F3, KEY_F1 }\
|
||
|
, {KEY_F8, KEY_F6, KEY_F4, KEY_F2 }\
|
||
|
, {KC_F10, KC_NO, KC_NO, KC_NO }\
|
||
|
, {KC_F9, KC_NO, KC_NO, KC_NO }\
|
||
|
, {KEY_LSFS, KEY_LCTR,KEY_TAB, KEY_ESC }\
|
||
|
, {KC_NO, KC_NO, KC_NO, KC_NO }\
|
||
|
}
|
||
|
|
||
|
#define LAYOUT LAYOUT_5291
|