aboutsummaryrefslogtreecommitdiff
path: root/layouts/community/ergodox/yoruian/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/yoruian/keymap.c')
-rw-r--r--layouts/community/ergodox/yoruian/keymap.c61
1 files changed, 61 insertions, 0 deletions
diff --git a/layouts/community/ergodox/yoruian/keymap.c b/layouts/community/ergodox/yoruian/keymap.c
new file mode 100644
index 000000000..367fe3c09
--- /dev/null
+++ b/layouts/community/ergodox/yoruian/keymap.c
@@ -0,0 +1,61 @@
1/*
2 * Copyright 2016 Thomas Fitzsimmons <fitzsim@fitzsim.org>
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 3 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 "yoruian.h"
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20[0] = LAYOUT_ergodox_YORUIAN\
21(9, 7, 5, 3, 1, GRV, MINS, EQL, LBRC, 0, 2, 4, 6, 8,
22 ES, RBRC, Y, O, R, BSLS, P3, P3, J, V, D, F, W, Q,
23 LC, U, I, A, N, SCLN, M, H, T, S, C, RC,
24 FF, QUOT, COMM, DOT, SLSH, P0, LGUI, LGUI, K, L, P, G, B, X,
25 IN, P1, NO, NO, LALT, LALT, NO, NO, Z, PS,
26 BSPC, RALT, P2, TAB,
27 NO, NO,
28 E, LSFT, NO, NO, ENT, SPC),
29[1] = LAYOUT_ergodox_YORUIAN\
30(TR, TR, TR, TR, TR, TR, TR, TR, TR, F5, F6, F7, F8, F9,
31 TR, TR, TR, TR, TR, TR, TR, TR, TR, F1, F2, F3, F4, FT,
32 TR, TR, TR, TR, TR, TR, PAUS, LEFT, DOWN, UP, RGHT, FE,
33 TR, TR, TR, TR, TR, TR, TR, TR, TR, HOME, PGDN, PGUP, END, FW,
34 TR, TR, TR, TR, TR, TR, TR, TR, TR, TR,
35 TR, TR, TR, TR,
36 TR, TR,
37 TR, TR, TR, TR, TR, TR),
38};
39
40const uint16_t PROGMEM fn_actions[] = {
41};
42
43const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
44 return MACRO_NONE;
45};
46
47void matrix_init_user(void) {
48};
49
50void matrix_scan_user(void) {
51 ergodox_board_led_off();
52 ergodox_right_led_1_off();
53 ergodox_right_led_2_off();
54 ergodox_right_led_3_off();
55};
56
57/*
58 * Local Variables:
59 * electric-indent-mode: nil
60 * End:
61 */