mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-08 00:24:16 -04:00
Implementing shift backspace example
- copied and modified the code from the documentation
This commit is contained in:
parent
c6bb3f3ea3
commit
507e60877e
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
case KC_BSPC: {
|
case KC_BSPC: {
|
||||||
|
//https://docs.qmk.fm/#/feature_advanced_keycodes?id=shift-backspace-for-delete
|
||||||
static bool delkey_registered = false;
|
static bool delkey_registered = false;
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
// Detect the activation of either shift keys
|
// Detect the activation of either shift keys
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue