[Keymap] Some updates to mechmerlin userspace and keymaps (#14711)
This commit is contained in:
parent
e762db44ba
commit
e8db309613
15 changed files with 68 additions and 55 deletions
|
@ -1,6 +1,15 @@
|
|||
# Changelog
|
||||
All notable changes to my userspace will be documented in this file.
|
||||
|
||||
## [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 `EEP_RST` and `RESET` keycodes. This was done primarily to avoid triggering `RESET` accidentally.
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
#include "mechmerlin.h"
|
||||
#include "version.h"
|
||||
|
||||
#define TAP_CODE_DELAY 10
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
static uint16_t fnx_layer_timer;
|
||||
|
@ -15,9 +18,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
}
|
||||
}
|
||||
break;
|
||||
case KC_MAC:
|
||||
case KC_VER:
|
||||
if (record->event.pressed) {
|
||||
SEND_STRING("meow");
|
||||
send_string_with_delay_P(PSTR(QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION ", Built on: " QMK_BUILDDATE), TAP_CODE_DELAY);
|
||||
} else {
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -12,7 +12,7 @@ enum userspace_layers {
|
|||
// 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.
|
||||
KC_VER, // Version macro.
|
||||
};
|
||||
|
||||
// Custom #defined keycodes
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# MechMerlin's Userspace v0.2.0
|
||||
# MechMerlin's Userspace v0.4.0
|
||||
|
||||
This is a collection of my most commonly used QMK features.
|
||||
|
||||
|
@ -32,6 +32,10 @@ It is used primarily on my `LAYOUT_60_ansi` boards as my regular toggle (the 1u
|
|||
|
||||
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
|
||||
----
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue