Merlin's userspace updates (#8074)

This commit is contained in:
MechMerlin 2020-02-03 13:37:01 -08:00 committed by GitHub
parent 5780c94423
commit c6f389b527
Failed to generate hash of commit
19 changed files with 123 additions and 48 deletions

View file

@ -1,6 +1,11 @@
# Changelog
All notable changes to my userspace will be documented in this file.
## [0.3.0] - 2020-02-02
### Changed
- Added the `_CL` layer to all the boards for access to `EEP_RST` 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.

View file

@ -10,8 +10,6 @@
#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.18921f
//#define AUDIO_CLICKY_FREQ_FACTOR 2.71828f // e
#define AUDIO_CLICKY_FREQ_FACTOR 1.61803f // golden ratio
#define AUDIO_CLICKY_FREQ_RANDOMNESS 17.0f
#endif
@ -24,7 +22,7 @@
#ifndef AUDIO_CLICKY
#define AUDIO_CLICKY
#endif
#elif defined(KEYBOARD_clueboard_66_hotswap_gen1)
#elif defined(KEYBOARD_clueboard_66_hotswap_gen1) || defined(KEYBOARD_clueboard_66_rev4)
#ifndef AUDIO_CLICKY
#define AUDIO_CLICKY
#endif

View file

@ -14,7 +14,13 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
layer_invert(_AL);
}
}
return false;
break;
case KC_MAC:
if (record->event.pressed) {
SEND_STRING("meow");
} else {
}
break;
}
return true;
}

View file

@ -5,12 +5,14 @@
enum userspace_layers {
_BL = 0, // Base Layer
_FL, // Function Layer
_AL // Arrow 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_MAC, // Text macro.
};
// Custom #defined keycodes

View file

@ -17,7 +17,7 @@ This layer is commonly accessed via `MO(_FL)` on the base layer. It consists of
This layer is only present on my 60% boards. I habitually use the bottom right modifiers as arrows.
### _CL (Control Layer)
This is not defined in here as it's present only on `LAYOUT_66` boards, or to be specific, my clueboard. It currently uses the default clueboard controls.
This layer is used for the `RESET` and `EEP_RST` keycodes.
## Custom Keycodes
----
@ -46,3 +46,8 @@ If a board has a speaker, enable beeps and boops per switch actuation. This is c
### 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

View file

@ -1 +1,2 @@
SRC += mechmerlin.c
LTO_ENABLE = yes