]> git.gir.st - tmk_keyboard.git/blob - converter/m0110_usb/keymap_intl.c
Merge commit 'a20ef7052c6e937d2f7672dd59456e55a5c08296' into master_ng
[tmk_keyboard.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| ,| ,| /|Shift | | 1| 2| 3| |
34 * `---------------------------------------------------------' |-----------|Ent|
35 * |Opt|Mac | Space |Fn |Opt| | 0| .| |
36 * `-----------------------------------------------' `---------------'
37 * M0110A(not existent?)
38 * ,---------------------------------------------------------. ,---------------.
39 * | `| 1| 2| 3| 4| 5| 6| 7| 8| 9| 0| -| =|Backs| |Nlk| =| /| *|
40 * |---------------------------------------------------------| |---------------|
41 * |Tab | Q| W| E| R| T| Y| U| I| O| P| [| ]|Ret| | 7| 8| 9| -|
42 * |------------------------------------------------------, | |---------------|
43 * |Ctrl | A| S| D| F| G| H| J| K| L| ;| '| \| | | 4| 5| 6| +|
44 * |---------------------------------------------------------| |---------------|
45 * |Shif| <| Z| X| C| V| B| N| M| ,| ,| /|Shft|Up | | 1| 2| 3| |
46 * |---------------------------------------------------------| |-----------|Ent|
47 * |Opt |Mac | Space | \|Lft|Rgt|Dn | | 0| .| |
48 * `---------------------------------------------------------' `---------------'
49 */
50 [0] = KEYMAP_INTL(
51 GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC, NLCK,EQL, PSLS,PAST,
52 TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,ENT, P7, P8, P9, PMNS,
53 LCTL,A, S, D, F, G, H, J, K, L, SCLN,QUOT,BSLS, P4, P5, P6, PPLS,
54 LSFT,NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH, UP, P1, P2, P3, PENT,
55 LALT,LGUI, SPC, FN0, LEFT,RGHT,DOWN, P0, PDOT
56 ),
57 /* Cursor Layer
58 * ,---------------------------------------------------------. ,---------------.
59 * |Esc| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delet| |Nlk| -| +| *|
60 * |---------------------------------------------------------| |---------------|
61 * |Caps |Hom| Up|PgU| | | | |Psc|Slk|Pau|Up | |Ret| | 7| 8| 9| /|
62 * |------------------------------------------------------, | |---------------|
63 * |Ctrl |Lef|Dow|Rig| | | | |Hom|PgU|Lef|Rig|Ins| | | 4| 5| 6| ,|
64 * |---------------------------------------------------------| |---------------|
65 * |Shif| <|End| |PgD| | | | |End|PgD|Dow|Shift | | 1| 2| 3| |
66 * `---------------------------------------------------------' |-----------|Ent|
67 * |Opt|Mac | Space |Fn |Opt| | 0| .| |
68 * `-----------------------------------------------' `---------------'
69 */
70 [1] = KEYMAP_INTL(
71 ESC, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, DEL, NLCK,EQL, PSLS,PAST,
72 CAPS,HOME,UP, PGUP,NO, NO, NO, NO, PSCR,SLCK,PAUS,UP, NO, ENT, P7, P8, P9, PMNS,
73 LCTL,LEFT,DOWN,RGHT,NO, NO, NO, NO, HOME,PGUP,LEFT,RGHT,INS, P4, P5, P6, PPLS,
74 LSFT,NO, END, NO, PGDN,NO, NO, NO, NO, END, PGDN,DOWN, PGUP, P1, P2, P3, PENT,
75 LALT,LGUI, SPC, FN0, HOME,END, PGDN, P0, PDOT
76 ),
77 };
78
79
80 /*
81 * Fn action definition
82 */
83 const uint16_t fn_actions[] PROGMEM = {
84 [0] = ACTION_LAYER_MOMENTARY(1),
85 };
Imprint / Impressum