]> git.friedersdorff.com Git - max/tmk_keyboard.git/blob - keyboard/alps64/unimap_plain.c
core: Clean up code of Locking key support
[max/tmk_keyboard.git] / keyboard / alps64 / unimap_plain.c
1 /*
2 Copyright 2016 Jun Wako <wakojun@gmail.com>
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 */
17 #include "unimap_trans.h"
18
19
20 #ifdef KEYMAP_SECTION_ENABLE
21 const action_t actionmaps[][UNIMAP_ROWS][UNIMAP_COLS] __attribute__ ((section (".keymap.keymaps"))) = {
22 #else
23 const action_t actionmaps[][UNIMAP_ROWS][UNIMAP_COLS] PROGMEM = {
24 #endif
25     /* 0:
26      * ,-----------------------------------------------------------.
27      * |`  |  1|  2|  3|  4|  5|  6|  7|  8|  9|  0|  -|  =|  #|Bsp|
28      * |-----------------------------------------------------------|
29      * |Tab  |  Q|  W|  E|  R|  T|  Y|  U|  I|  O|  P|  [|  ]|  \  |
30      * |-----------------------------------------------------------|
31      * |Caps  |  A|  S|  D|  F|  G|  H|  J|  K|  L|  ;|  '|Enter   |
32      * |-----------------------------------------------------------|
33      * |Shft|  \|  Z|  X|  C|  V|  B|  N|  M|  ,|  .|  /|Shift |Esc|
34      * |-----------------------------------------------------------'
35      * |Ctrl|Gui |Alt |         Space         |App |Alt |Gui |Ctrl |
36      * `-----------------------------------------------------------'
37      */
38     [0] = UNIMAP_ALPS64( \
39         GRV, 1,   2,   3,   4,   5,   6,   7,   8,   9,   0,   MINS,EQL, NUHS,BSPC, \
40         TAB, Q,   W,   E,   R,   T,   Y,   U,   I,   O,   P,   LBRC,RBRC,     BSLS, \
41         CAPS,A,   S,   D,   F,   G,   H,   J,   K,   L,   SCLN,QUOT,          ENT,  \
42         LSFT,NUBS,Z,   X,   C,   V,   B,   N,   M,   COMM,DOT, SLSH,     RSFT,ESC,  \
43         LCTL,LALT,LGUI,          SPC,                          RGUI,RALT,APP, RCTL),
44 };