aboutsummaryrefslogtreecommitdiffstats
path: root/.config/qmk_firmware/keyboards/keebio/nyquist
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2024-01-18 18:47:13 -0700
committerkatherine <ageha@airen-no-jikken.icu>2024-01-18 18:47:13 -0700
commit69b6886ea984de7179f127cf611ccff4d94c2c65 (patch)
treea8c06daaab77bb6f8af3daf9f94505dccce52e09 /.config/qmk_firmware/keyboards/keebio/nyquist
parent50d85470c2981ba6caf6a2c37548ca20fbea15a7 (diff)
downloaddotfiles-69b6886ea984de7179f127cf611ccff4d94c2c65.tar.gz
add qmk mouse keys
Diffstat (limited to '.config/qmk_firmware/keyboards/keebio/nyquist')
-rw-r--r--.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/config.h3
-rw-r--r--.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c24
-rw-r--r--.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/rules.mk2
3 files changed, 27 insertions, 2 deletions
diff --git a/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/config.h b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/config.h
index cc55961..6a6a4bc 100644
--- a/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/config.h
+++ b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/config.h
@@ -1,6 +1,7 @@
-
#pragma once
+#define MK_KINETIC_SPEED
+
#undef RGBLIGHT_ANIMATIONS
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_SPLIT
diff --git a/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c
index ac5559b..9610133 100644
--- a/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c
+++ b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/keymap.c
@@ -3,6 +3,7 @@
#define _BASE 0
#define _QWERTY 1
#define _FN 2
+#define _MOUSE 3
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@@ -69,15 +70,38 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
),
+/* MOUSE
+ * ,------------------------------------------ ------------------------------------------.
+ * | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+ +------+------+------+------+------+------|
+ * | | ScUp | MsU | ScDn | | | | | | B3 | | | |
+ * |------+------+------+------+------+------+ +------+------+------+------+------+------|
+ * | | MsL | MsD | MsR | | | | | B2 | B1 | | | |
+ * |------+------+------+------+------+------+ +------+------+------+------+------+------|
+ * | | | | | | | | | | | | | |
+ * |------+------+------+------+------+------+ +------+------+------+------+------+------|
+ * | | | | | | | | | | | |
+ * `------------------------------------------ ------------------------------------------'
+ */
+[_MOUSE] = LAYOUT(
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, KC_WH_U, KC_MS_U, KC_WH_D, _______, _______, _______, _______, KC_BTN3, _______, _______, _______,
+ _______, KC_MS_L, KC_MS_D, KC_MS_R, _______, _______, _______, KC_BTN2, KC_BTN1, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
+),
+
};
const uint16_t PROGMEM combo_qwerty[] = { KC_LCTL, KC_RCTL, COMBO_END };
const uint16_t PROGMEM combo_fn[] = { KC_LALT, KC_RALT, COMBO_END };
+const uint16_t PROGMEM combo_mouse[] = { KC_LSFT, KC_RSFT, COMBO_END };
combo_t key_combos[] = {
COMBO(combo_qwerty, TG(_QWERTY)),
COMBO(combo_fn, TG(_FN)),
+ COMBO(combo_mouse, TG(_MOUSE)),
};
uint16_t COMBO_LEN = sizeof(key_combos) / sizeof(combo_t);
diff --git a/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/rules.mk b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/rules.mk
index ea3f311..58eeaf2 100644
--- a/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/rules.mk
+++ b/.config/qmk_firmware/keyboards/keebio/nyquist/keymaps/ageha/rules.mk
@@ -1,7 +1,7 @@
RGBLIGHT_ENABLE = yes
COMBO_ENABLE = yes
+MOUSEKEY_ENABLE = yes
-MOUSEKEY_ENABLE = no
CONSOLE_ENABLE = no
SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no