]> git.donarmstrong.com Git - qmk_firmware.git/blob - converter/m0110_usb/keymap_intl.c
Updated readme to fix a typo and list out hotkey shortcuts
[qmk_firmware.git] / converter / m0110_usb / keymap_intl.c
1 /*
2 Copyright 2015 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 <stdint.h>
18 #include "keycode.h"
19 #include "keymap_common.h"
20
21
22
23 const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = {
24     /* International keyboard
25      * M0110                                                       M0120
26      * ,---------------------------------------------------------. ,---------------.
27      * |  `|  1|  2|  3|  4|  5|  6|  7|  8|  9|  0|  -|  =|Backs| |Nlk|  -|  +|  *|
28      * |---------------------------------------------------------| |---------------|
29      * |Tab  |  Q|  W|  E|  R|  T|  Y|  U|  I|  O|  P|  [|  ]|Ret| |  7|  8|  9|  /|
30      * |------------------------------------------------------,  | |---------------|
31      * |Ctrl  |  A|  S|  D|  F|  G|  H|  J|  K|  L|  ;|  '|  \|  | |  4|  5|  6|  ,|
32      * |---------------------------------------------------------| |---------------|
33      * |Shif|  <|  Z|  X|  C|  V|  B|  N|  M|  ,|  ,|  /|        | |  1|  2|  3|   |
34      * `---------------------------------------------------------' |-----------|Ent|
35      *      |Opt|Mac |         Space               |Fn  |   |      |      0|  .|   |
36      *      `-----------------------------------------------'      `---------------'
37      */
38     [0] = KEYMAP_INTL(
39     GRV, 1,   2,   3,   4,   5,   6,   7,   8,   9,   0,   MINS,EQL, BSPC,    NLCK,EQL, PSLS,PAST,
40     TAB, Q,   W,   E,   R,   T,   Y,   U,   I,   O,   P,   LBRC,RBRC,ENT,     P7,  P8,  P9,  PMNS,
41     LCTL,A,   S,   D,   F,   G,   H,   J,   K,   L,   SCLN,QUOT,BSLS,         P4,  P5,  P6,  PPLS,
42     LSFT,NUBS,Z,   X,   C,   V,   B,   N,   M,   COMM,DOT, SLSH,              P1,  P2,  P3,  PENT,
43          LALT,LGUI,               SPC,                     FN0,               P0,       PDOT
44     ),
45     /* Cursor Layer
46      * ,---------------------------------------------------------. ,---------------.
47      * |Esc| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delet| |Nlk|  -|  +|  *|
48      * |---------------------------------------------------------| |---------------|
49      * |Caps |Hom| Up|PgU|   |   |   |   |Psc|Slk|Pau|Up |   |Ret| |  7|  8|  9|  /|
50      * |------------------------------------------------------,  | |---------------|
51      * |Ctrl  |Lef|Dow|Rig|   |   |   |   |Hom|PgU|Lef|Rig|Ins|  | |  4|  5|  6|  ,|
52      * |---------------------------------------------------------| |---------------|
53      * |Shif|  <|End|   |PgD|   |   |   |   |End|PgD|Dow|        | |  1|  2|  3|   |
54      * `---------------------------------------------------------' |-----------|Ent|
55      *      |Opt|Mac |         Space               |Fn  |   |      |      0|  .|   |
56      *      `-----------------------------------------------'      `---------------'
57      */
58     [1] = KEYMAP_INTL(
59     ESC, F1,  F2,  F3,  F4,  F5,  F6,  F7,  F8,  F9,  F10, F11, F12, DEL,     NLCK,EQL, PSLS,PAST,
60     CAPS,HOME,UP,  PGUP,NO,  NO,  NO,  NO,  PSCR,SLCK,PAUS,UP,  NO,  ENT,     P7,  P8,  P9,  PMNS,
61     LCTL,LEFT,DOWN,RGHT,NO,  NO,  NO,  NO,  HOME,PGUP,LEFT,RGHT,INS,          P4,  P5,  P6,  PPLS,
62     LSFT,NO,  END, NO,  PGDN,NO,  NO,  NO,  NO,  END, PGDN,DOWN,              P1,  P2,  P3,  PENT,
63          LALT,LGUI,               SPC,                     FN0,               P0,       PDOT
64     ),
65 };
66
67
68 /*
69  * Fn action definition
70  */
71 const uint16_t fn_actions[] PROGMEM = {
72     [0]  = ACTION_LAYER_MOMENTARY(1),
73 };