aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rubi/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rubi/keymaps/default/keymap.c')
-rw-r--r--keyboards/rubi/keymaps/default/keymap.c58
1 files changed, 58 insertions, 0 deletions
diff --git a/keyboards/rubi/keymaps/default/keymap.c b/keyboards/rubi/keymaps/default/keymap.c
new file mode 100644
index 000000000..054e3ce23
--- /dev/null
+++ b/keyboards/rubi/keymaps/default/keymap.c
@@ -0,0 +1,58 @@
1/* Copyright 2020 gregorio
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18
19// enum custom_keycodes {
20// FIRST = NEW_SAFE_RANGE,
21// };
22
23// Defines names for use in layer keycodes and the keymap
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25 /* Base */
26 [0] = LAYOUT(
27 ENC_PRESS,
28 KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
29 KC_P7 , KC_P8 , KC_P9 , KC_PPLS,
30 KC_P4 , KC_P5 , KC_P6 ,
31 KC_P1 , KC_P2 , KC_P3 , KC_PENT,
32 KC_P0 , LT(2, KC_PDOT)
33 ),
34 [1] = LAYOUT(
35 KC_TRNS,
36 KC_C , KC_SLSH, CL_STAR, KC_MINS,
37 KC_7 , KC_8 , KC_9 , CL_PLUS,
38 KC_4 , KC_5 , KC_6 ,
39 KC_1 , KC_2 , KC_3 , KC_EQL,
40 KC_0 , KC_DOT
41 ),
42 [2] = LAYOUT(
43 KC_TRNS,
44 KC_TRNS, KC_N , KC_S , KC_R ,
45 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
46 KC_TRNS, KC_TRNS, KC_TRNS,
47 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
48 KC_TRNS, KC_TRNS
49 ),
50 [3] = LAYOUT(
51 KC_TRNS,
52 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
53 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
54 KC_TRNS, RESET , KC_TRNS,
55 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
56 KC_TRNS, KC_TRNS
57 ),
58};