summaryrefslogtreecommitdiff
path: root/keyboards/rgbkb/sol3/keymaps/kageurufu
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2022-01-21 21:51:12 -0600
committerGitHub <noreply@github.com>2022-01-21 19:51:12 -0800
commitad702096a97677eab5c1931d6f0d4a51e1a564a5 (patch)
tree51ddb8df5f1f2c18ee86ba8e5045b4f955a9d112 /keyboards/rgbkb/sol3/keymaps/kageurufu
parentb45a037c7edcd9c1cfadceb69ed51e7d42aa58c1 (diff)
[Keyboard] Sol 3 Keyboard from RGBKB (#15687)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Franklyn Tackitt <franklyn@tackitt.net>
Diffstat (limited to 'keyboards/rgbkb/sol3/keymaps/kageurufu')
-rw-r--r--keyboards/rgbkb/sol3/keymaps/kageurufu/config.h32
-rw-r--r--keyboards/rgbkb/sol3/keymaps/kageurufu/keymap.c61
-rw-r--r--keyboards/rgbkb/sol3/keymaps/kageurufu/rules.mk1
3 files changed, 94 insertions, 0 deletions
diff --git a/keyboards/rgbkb/sol3/keymaps/kageurufu/config.h b/keyboards/rgbkb/sol3/keymaps/kageurufu/config.h
new file mode 100644
index 0000000000..400848aa35
--- /dev/null
+++ b/keyboards/rgbkb/sol3/keymaps/kageurufu/config.h
@@ -0,0 +1,32 @@
+/*
+ * ----------------------------------------------------------------------------
+ * "THE BEER-WARE LICENSE" (Revision 42):
+ * <https://github.com/kageurufu> wrote this file. As long as you retain this
+ * notice you can do whatever you want with this stuff. If we meet some day, and
+ * you think this stuff is worth it, you can buy me a beer in return. Frank Tackitt
+ * ----------------------------------------------------------------------------
+ */
+
+#pragma once
+
+// No need for the single versions when multi performance isn't a problem =D
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
+#define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
+#define DISABLE_RGB_MATRIX_SPLASH
+#define DISABLE_RGB_MATRIX_SOLID_SPLASH
+
+// 20m timeout (20m * 60s * 1000mil)
+// #define RGB_DISABLE_TIMEOUT 1200000
+#define RGB_DISABLE_WHEN_USB_SUSPENDED
+
+
+#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2
+// 224B per layer right now
+#define DYNAMIC_KEYMAP_LAYER_COUNT 8
+#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047
+
+#define VIA_QMK_RGBLIGHT_ENABLE
+
+#define STM32_ONBOARD_EEPROM_SIZE 2048
+
diff --git a/keyboards/rgbkb/sol3/keymaps/kageurufu/keymap.c b/keyboards/rgbkb/sol3/keymaps/kageurufu/keymap.c
new file mode 100644
index 0000000000..90773203b5
--- /dev/null
+++ b/keyboards/rgbkb/sol3/keymaps/kageurufu/keymap.c
@@ -0,0 +1,61 @@
+/*
+ * ----------------------------------------------------------------------------
+ * "THE BEER-WARE LICENSE" (Revision 42):
+ * <https://github.com/kageurufu> wrote this file. As long as you retain this
+ * notice you can do whatever you want with this stuff. If we meet some day, and
+ * you think this stuff is worth it, you can buy me a beer in return. Frank Tackitt
+ * ----------------------------------------------------------------------------
+ */
+
+#include QMK_KEYBOARD_H
+#include "kageurufu.h"
+
+extern keymap_config_t keymap_config;
+
+/* Base Layout
+ * ,------------------------------------------------. ,------------------------------------------------.
+ * | ` | | | | | | | | | | | | | | BkSp |
+ * |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
+ * | Tab | | | | | | | | | | | | | | \ |
+ * |------+------+------+------+------+------|------| |------|------+------+------+------+------+------|
+ * | Esc | | | | | | | | | | | | | | ' |
+ * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
+ * | Sft( | | | | | | | | | | | | | | Sft) |
+ * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
+ * | Ctrl | Win | Win | Alt | FN | Space| RGB | | FN | FN | - | = | Down | PgUp | PgDn |
+ * |------+------+------+------+------+------+------| |------+------+------+------+------+------+------|
+ * | Space| Bksp | | Enter| Space|
+ * `-------------' `--------=----'
+ */
+#define EXPAND_LAYOUT(...) LAYOUT(__VA_ARGS__, \
+ KC_VOLD, KC_VOLU, KC_VOLD, KC_VOLU, KC_VOLD, KC_VOLU, KC_VOLD, KC_VOLU, KC_VOLD, KC_VOLU, KC_VOLD, KC_VOLU, \
+ KC_MNXT, KC_MPLY, KC_MPRV, KC_VOLD, KC_VOLU, KC_MNXT, KC_MPLY, KC_MPRV, KC_VOLD, KC_VOLU )
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+
+ [_QWERTY] = EXPAND_LAYOUT(
+ KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, RGB_MOD, KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
+ KC_TAB, _________________QWERTY_L1_________________, KC_LBRC, KC_RBRC, _________________QWERTY_R1_________________, KC_BSLS,
+ FN_ESC, _________________QWERTY_L2_________________, RGB_SAI, RGB_VAI, _________________QWERTY_R2_________________, KC_QUOT,
+ KC_LSPO, _________________QWERTY_L3_________________, RGB_SAD, RGB_VAD, _________________QWERTY_R3_________________, KC_RSPC,
+ KC_LCTL, KC_LGUI, KC_LGUI, KC_LALT, FN, KC_SPC, KC_MUTE, KC_BSPC, KC_ENT, FN, KC_SPC, KC_MINS, KC_EQL, KC_DOWN, KC_PGUP, KC_PGDN
+ ),
+
+ [_FN] = EXPAND_LAYOUT(
+ ________________FUNCTION_L1________________, _______, KC_PSCR, ________________FUNCTION_R1________________,
+ ________________FUNCTION_L2________________, _______, _______, ________________FUNCTION_R2________________,
+ ________________FUNCTION_L3________________, _______, _______, ________________FUNCTION_R3________________,
+ ________________FUNCTION_L4________________, _______, _______, ________________FUNCTION_R4________________,
+ ________________FUNCTION_L5________________, ADJ, KC_DEL, _______, ADJ, ________________FUNCTION_R5________________
+ ),
+
+ [_ADJ] = EXPAND_LAYOUT(
+ _________________ADJUST_L1_________________, _______, _______, _________________ADJUST_R1_________________,
+ _________________ADJUST_L2_________________, _______, _______, _________________ADJUST_R2_________________,
+ _________________ADJUST_L3_________________, _______, _______, _________________ADJUST_R3_________________,
+ _________________ADJUST_L4_________________, _______, _______, _________________ADJUST_R4_________________,
+ _________________ADJUST_L5_________________, _______, _______, _______, _______, _________________ADJUST_R5_________________
+
+ )
+
+};
diff --git a/keyboards/rgbkb/sol3/keymaps/kageurufu/rules.mk b/keyboards/rgbkb/sol3/keymaps/kageurufu/rules.mk
new file mode 100644
index 0000000000..1e5b99807c
--- /dev/null
+++ b/keyboards/rgbkb/sol3/keymaps/kageurufu/rules.mk
@@ -0,0 +1 @@
+VIA_ENABLE = yes