summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoonbae Cho <y@xcv.kr>2020-08-18 14:03:55 +0900
committerGitHub <noreply@github.com>2020-08-17 22:03:55 -0700
commit3b09add3494716eed62c562b334a82d6d460365f (patch)
tree46d1639f910d868231aa806dbba77151c835f5e0
parent613e5752d70758d3e0d9a37837efeb2175b74e75 (diff)
downloadqmk_firmware-3b09add3494716eed62c562b334a82d6d460365f.tar.gz
qmk_firmware-3b09add3494716eed62c562b334a82d6d460365f.zip
[Keymap] yoonbae81 keymap for JJ50 (#10052)
* Create keymap for jj50 * Update rules.mk * Update rules.mk * Update * Update keymap.c
-rw-r--r--keyboards/jj50/keymaps/yoonbae81/config.h6
-rw-r--r--keyboards/jj50/keymaps/yoonbae81/keymap.c42
-rw-r--r--keyboards/jj50/keymaps/yoonbae81/rules.mk3
3 files changed, 51 insertions, 0 deletions
diff --git a/keyboards/jj50/keymaps/yoonbae81/config.h b/keyboards/jj50/keymaps/yoonbae81/config.h
new file mode 100644
index 0000000000..f91326ca26
--- /dev/null
+++ b/keyboards/jj50/keymaps/yoonbae81/config.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#define MOUSEKEY_DELAY 100
+#define MOUSEKEY_INTERVAL 25
+#define MOUSEKEY_MAX_SPEED 7
+#define MOUSEKEY_TIME_TO_MAX 30 \ No newline at end of file
diff --git a/keyboards/jj50/keymaps/yoonbae81/keymap.c b/keyboards/jj50/keymaps/yoonbae81/keymap.c
new file mode 100644
index 0000000000..571f93be52
--- /dev/null
+++ b/keyboards/jj50/keymaps/yoonbae81/keymap.c
@@ -0,0 +1,42 @@
+#include QMK_KEYBOARD_H
+
+enum layer_names {
+ _MAIN,
+ _FN1,
+ _FN2,
+ _FN3
+};
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [_MAIN] = LAYOUT(
+ KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_GRV,
+ KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
+ KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
+ KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_BSPC,
+ MO(2), MO(3), KC_LGUI, KC_LALT, LT(1,KC_ENT),KC_NO, KC_SPC,KC_NO, LT(1,KC_RALT), LT(2,KC_RCTL), KC_APP, TO(2)
+ ),
+
+ [_FN1] = LAYOUT(
+ _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
+ _______, KC_LCBR, KC_PGUP, KC_UP, KC_HOME, KC_RCBR, KC_NO, KC_HOME, KC_PGUP, KC_NO, KC_NO, KC_F12,
+ _______, KC_LPRN, KC_LEFT, KC_DOWN, KC_RGHT, KC_RPRN, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_MINS, KC_EQL,
+ _______, KC_LBRC, KC_END, KC_NO, KC_PGDN, KC_RBRC, KC_NO, KC_PGDN, KC_END, KC_ENT, KC_INS, KC_DEL,
+ _______, _______, _______, _______, _______, _______, KC_BSPC, _______, _______, _______, _______, _______
+ ),
+
+ [_FN2] = LAYOUT(
+ TO(0), KC_1, KC_2, KC_SLCK, KC_PAUS, KC_PSCR, KC_CALC, KC_ESC, KC_PMNS, KC_PERC, KC_PSLS, MO(3),
+ _______, KC_NO, KC_WH_U, KC_MS_U, KC_NO, KC_NO, KC_F2, KC_7, KC_8, KC_9, KC_PAST, KC_NO,
+ _______, KC_NO, KC_MS_L, KC_MS_D, KC_MS_R, KC_NO, KC_ENT, KC_4, KC_5, KC_6, KC_MINS, KC_EQL,
+ _______, KC_NO, KC_NO, KC_NO, KC_WH_D, KC_NO, KC_NO, KC_1, KC_2, KC_3, KC_PPLS, KC_BSPC,
+ _______, _______, _______, KC_BTN2, KC_BTN1, _______, KC_0, _______, KC_PDOT, _______, _______, TO(0)
+ ),
+
+ [_FN3] = LAYOUT(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, KC_MPRV, KC_MRWD, KC_MFFD, KC_MNXT, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, KC_VOLD, KC_VOLU, KC_MPLY, _______, _______, _______, _______, _______, _______, _______
+ )
+}; \ No newline at end of file
diff --git a/keyboards/jj50/keymaps/yoonbae81/rules.mk b/keyboards/jj50/keymaps/yoonbae81/rules.mk
new file mode 100644
index 0000000000..8232d05fdb
--- /dev/null
+++ b/keyboards/jj50/keymaps/yoonbae81/rules.mk
@@ -0,0 +1,3 @@
+MOUSEKEY_ENABLE = yes
+BACKLIGHT_ENABLE = no
+RGBLIGHT_ENABLE = no