aboutsummaryrefslogtreecommitdiff
path: root/keyboards/namecard2x4/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/namecard2x4/keymaps/default/keymap.c')
-rw-r--r--keyboards/namecard2x4/keymaps/default/keymap.c60
1 files changed, 60 insertions, 0 deletions
diff --git a/keyboards/namecard2x4/keymaps/default/keymap.c b/keyboards/namecard2x4/keymaps/default/keymap.c
new file mode 100644
index 000000000..1a0a727fc
--- /dev/null
+++ b/keyboards/namecard2x4/keymaps/default/keymap.c
@@ -0,0 +1,60 @@
1/* Copyright 2018 takashiski
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
18enum Layer
19{
20 DF,
21 LW,
22 RS
23};
24
25
26
27const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
28[DF] = LAYOUT(
29 KC_1,KC_2,KC_3,LT(LW,KC_4),
30 KC_5,KC_6,KC_7,LT(RS,KC_8)
31 ),
32[LW]= LAYOUT(
33
34 RGB_VAD,RGB_VAI,RGB_HUI,RGB_HUD,
35 KC_TRNS,RGB_MOD,RGB_RMOD,KC_TRNS
36 ),
37[RS]= LAYOUT(
38
39 KC_MYCM,KC_MAIL,KC_VOLU,KC_MUTE,
40 KC_WSCH,KC_CALC,KC_VOLD,KC_TRNS
41 )
42
43};
44
45
46void matrix_init_user(void) {
47
48}
49
50void matrix_scan_user(void) {
51
52}
53
54bool process_record_user(uint16_t keycode, keyrecord_t *record) {
55 return true;
56}
57
58void led_set_user(uint8_t usb_led) {
59
60}