diff options
Diffstat (limited to 'users/mechmerlin')
-rw-r--r-- | users/mechmerlin/changelog.md | 44 | ||||
-rw-r--r-- | users/mechmerlin/config.h | 44 | ||||
-rw-r--r-- | users/mechmerlin/mechmerlin.c | 27 | ||||
-rw-r--r-- | users/mechmerlin/mechmerlin.h | 19 | ||||
-rw-r--r-- | users/mechmerlin/readme.md | 57 | ||||
-rw-r--r-- | users/mechmerlin/rules.mk | 2 |
6 files changed, 0 insertions, 193 deletions
diff --git a/users/mechmerlin/changelog.md b/users/mechmerlin/changelog.md deleted file mode 100644 index aea46beee6..0000000000 --- a/users/mechmerlin/changelog.md +++ /dev/null @@ -1,44 +0,0 @@ -# Changelog -All notable changes to my userspace will be documented in this file. - -## [0.4.1] - 2021-10-30 - -### Added -- `RGB_DISABLE_WHEN_USB_SUSPENDED` added in `config.h`. Couple of my boards now have per key RGB and have been staying on when my computer sleeps. -## [0.4.0] - 2021-10-05 - -### Added -- Introduced new keycode KV_VER to output the version of QMK. Thanks to drashna for this. - -### Changed -- Updated keymaps to use underscores instead of KC_TRNS as it was getting hard to read for my tired eyes. -- Updated readmes on my preferred layouts. - -## [0.3.0] - 2020-02-02 -### Changed -- Added the `_CL` layer to all the boards for access to `EE_CLR` and `RESET` keycodes. This was done primarily to avoid triggering `RESET` accidentally. -- Added a placeholder text macro under the custom keycode `KC_MAC`. Currently set to "meow", but will change as needed in the future. - -## [0.2.2] - 2019-04-22 -### Fixed -- `config.h` usage of turning on `RGBLIGHT_ENABLE` when it is not enabled on boards other than my two clueboards were causing issues with boards that didn't have RGB underglow on it. - -## [0.2.1] - 2019-03-01 -### Fixed -- `config.h` usage of `#ifdef RGBLIGHT_ENABLE` caused problems for other of my boards that had `RGBLIGHT_ENABLE`. - -## [0.2.0] - 2019-02-27 -### Changed -- Moved `AUDIO_CLICKY` from community layout `66_ansi` into user space. - -## [0.1.1] - 2018-10-26 -### Added -- Added a changelog, aka THIS VERY FILE! -- Added `config.h` to userspace for `RGBLIGHT_SLEEP` feature. - -### Changed -- Spruced up the readme file to better explain the things I use in my keymap for would be keymap snoopers. Also useful as an example when people ask. -- Use `CTL_T` instead of `MT` for my custom `KC_CTCP` keycode as it was causing issues on some boards. - -## [0.1.0] - 2018-08-31 -Initial usage of userspaces! diff --git a/users/mechmerlin/config.h b/users/mechmerlin/config.h deleted file mode 100644 index e5f0f397d4..0000000000 --- a/users/mechmerlin/config.h +++ /dev/null @@ -1,44 +0,0 @@ -#pragma once - -#define TAP_CODE_DELAY 10 - -#ifdef RGBLIGHT_ENABLE - #define RGBLIGHT_SLEEP -#define RGBLIGHT_EFFECT_BREATHING -#define RGBLIGHT_EFFECT_RAINBOW_MOOD -#define RGBLIGHT_EFFECT_RAINBOW_SWIRL -#define RGBLIGHT_EFFECT_SNAKE -#define RGBLIGHT_EFFECT_KNIGHT -#define RGBLIGHT_EFFECT_CHRISTMAS -#define RGBLIGHT_EFFECT_STATIC_GRADIENT -#define RGBLIGHT_EFFECT_RGB_TEST -#define RGBLIGHT_EFFECT_ALTERNATING -#define RGBLIGHT_EFFECT_TWINKLE -#endif // RGBLIGHT_ENABLE - -#ifdef RGB_MATRIX_ENABLE - #define RGB_DISABLE_WHEN_USB_SUSPENDED -#endif - -#ifdef AUDIO_CLICKY - #define AUDIO_CLICKY_ON - #define AUDIO_CLICKY_FREQ_DEFAULT 261.63f - #define AUDIO_CLICKY_FREQ_MIN 65.41f - #define AUDIO_CLICKY_FREQ_MAX 1046.5f - #define AUDIO_CLICKY_FREQ_FACTOR 1.61803f // golden ratio - #define AUDIO_CLICKY_FREQ_RANDOMNESS 17.0f -#endif - -// Enable features depending on keyboard -#if defined(KEYBOARD_clueboard_66_hotswap_prototype) - #ifndef RGBLIGHT_ENABLE - #define RGBLIGHT_ENABLE - #endif - #ifndef AUDIO_CLICKY - #define AUDIO_CLICKY - #endif -#elif defined(KEYBOARD_clueboard_66_hotswap_gen1) || defined(KEYBOARD_clueboard_66_rev4) - #ifndef AUDIO_CLICKY - #define AUDIO_CLICKY - #endif -#endif diff --git a/users/mechmerlin/mechmerlin.c b/users/mechmerlin/mechmerlin.c deleted file mode 100644 index 5c8ecb9007..0000000000 --- a/users/mechmerlin/mechmerlin.c +++ /dev/null @@ -1,27 +0,0 @@ -#include "mechmerlin.h" -#include "version.h" - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - static uint16_t fnx_layer_timer; - - switch (keycode){ - case KC_FNX: - if(record->event.pressed){ - fnx_layer_timer = timer_read(); - layer_on(_FL); - } else { - layer_off(_FL); - if (timer_elapsed(fnx_layer_timer) < 150) { - layer_invert(_AL); - } - } - break; - case KC_VER: - if (record->event.pressed) { - send_string_with_delay_P(PSTR(QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION ", Built on: " QMK_BUILDDATE), TAP_CODE_DELAY); - } else { - } - break; - } - return true; -} diff --git a/users/mechmerlin/mechmerlin.h b/users/mechmerlin/mechmerlin.h deleted file mode 100644 index 79386e7663..0000000000 --- a/users/mechmerlin/mechmerlin.h +++ /dev/null @@ -1,19 +0,0 @@ -#pragma once - -#include "quantum.h" - -enum userspace_layers { - _BL = 0, // Base Layer - _FL, // Function Layer - _AL, // Arrow Layer - _CL // Control Layer -}; - -// Enum of custom keycodes defined in process_record_user -enum keycodes { - KC_FNX, // Hold for FN layer, tap to toggle ARROWS layer. - KC_VER, // Version macro. -}; - -// Custom #defined keycodes -#define KC_CTCP CTL_T(KC_CAPS) diff --git a/users/mechmerlin/readme.md b/users/mechmerlin/readme.md deleted file mode 100644 index 7aa606dba8..0000000000 --- a/users/mechmerlin/readme.md +++ /dev/null @@ -1,57 +0,0 @@ -# MechMerlin's Userspace v0.4.0 - -This is a collection of my most commonly used QMK features. - -A majority of my keyboards are smaller than 75%, ANSI, and staggered. - -## Layers ----- - -### _BL (Base Layer) -Typical standard QWERTY keymap. - -### _FL (Function Layer) -This layer is commonly accessed via `MO(_FL)` on the base layer. It consists of your typical function key F1 through F12 and some RGB and Backlight controls. - -### _AL (Arrow Layer) -This layer is only present on my 60% boards. I habitually use the bottom right modifiers as arrows. - -### _CL (Control Layer) -This layer is used for the `RESET` and `EE_CLR` keycodes. - -## Custom Keycodes ----- - -### KC_FNX (Fn Extended) - -`KC_FNX` functions as a hold for `MO(X)` and tap for `TG(Y)`. Layer X and Y are different layers. - -It is used primarily on my `LAYOUT_60_ansi` boards as my regular toggle (the 1u key to the right of right shift), is not present there. - -### KC_CTCP (Control Caps) - -This is just a wrapper for `CTL_T(KC_CAPS)`. This is a hold for control and tap for caps lock. - -### KC_VER - -Output the version of QMK Firmware on device. - -## QMK Features ----- - -### RGBLIGHT_SLEEP and RGB_DISABLE_WHEN_USB_SUSPENDED - -Ensures that when my computer is in sleep mode, the keyboard underglow and inswitch RGB lights will also be off. - -### Audio Clicky - -If a board has a speaker, enable beeps and boops per switch actuation. This is currently only available on prototype/gen1 clueboard 66_hotswaps. - -### Velocikey - -[Velocikey](https://github.com/qmk/qmk_firmware/blob/master/docs/feature_velocikey.md) is an RGBLIGHT feature in which the faster you type, the faster the ARE GEE BEES. - -### Macros - -Basic text macro implemented for future use - diff --git a/users/mechmerlin/rules.mk b/users/mechmerlin/rules.mk deleted file mode 100644 index 043c70fb4d..0000000000 --- a/users/mechmerlin/rules.mk +++ /dev/null @@ -1,2 +0,0 @@ -SRC += mechmerlin.c -LTO_ENABLE = yes |