Skip to content

Commit

Permalink
[Keymap] Fix advanced keymap readme and macro function (qmk#6342)
Browse files Browse the repository at this point in the history
  • Loading branch information
SidneyBovet authored and drashna committed Jul 16, 2019
1 parent c44fc68 commit 97a3f80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions keyboards/xd004/keymaps/system_and_media/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
if (!is_alt_f4_active) {
is_alt_f4_active = true;
tap_code_16(LALT(KC_F4); // Alt-F4
tap_code16(LALT(KC_F4)); // Alt-F4
} else {
tap_code(KC_ENTER); // Tap enter
}
} else {
unregister_code(KC_TAB);
}
alt_f4_timer = timer_read();
break;
Expand Down
2 changes: 1 addition & 1 deletion keyboards/xd004/keymaps/system_and_media/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Default Keymap for XD004 PCB
# Slightly more advanced keymap for XD004 PCB

A somehow more useful keymap, allowing one to move across virtual desktops on Windows, etc.

Expand Down

0 comments on commit 97a3f80

Please sign in to comment.