Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions doubleclick/doubleclick.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ static uint16_t double_click_timer = 0;
# define MOUSE_DOUBLECLICK_INTERVAL_MS 200
#endif

#ifndef KC_MS_BTN1
# define KC_MS_BTN1 QK_MOUSE_BUTTON_1
#endif

bool process_record_doubleclick(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case KC_MS_DBL_CLICK:
Expand Down