Skip to content

Commit

Permalink
evdev: Rename some debouncing functions for consistency
Browse files Browse the repository at this point in the history
All other similar functions are named with the "_handle_event" postfix.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  • Loading branch information
gobenji authored and whot committed Feb 4, 2019
1 parent fbe7abf commit 89b9d1b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/evdev-debounce.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ debounce_released_handle_event(struct fallback_dispatch *fallback, enum debounce
}

static void
debounce_press_pending_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time)
debounce_press_pending_handle_event(struct fallback_dispatch *fallback, enum debounce_event event, uint64_t time)
{
switch (event) {
case DEBOUNCE_EVENT_PRESS:
Expand All @@ -394,7 +394,7 @@ debounce_press_pending_event(struct fallback_dispatch *fallback, enum debounce_e
}

static void
debounce_disabled_event(struct fallback_dispatch *fallback,
debounce_disabled_handle_event(struct fallback_dispatch *fallback,
enum debounce_event event,
uint64_t time)
{
Expand Down Expand Up @@ -456,10 +456,10 @@ debounce_handle_event(struct fallback_dispatch *fallback,
debounce_released_handle_event(fallback, event, time);
break;
case DEBOUNCE_STATE_PRESS_PENDING:
debounce_press_pending_event(fallback, event, time);
debounce_press_pending_handle_event(fallback, event, time);
break;
case DEBOUNCE_STATE_DISABLED:
debounce_disabled_event(fallback, event, time);
debounce_disabled_handle_event(fallback, event, time);
break;
}

Expand Down

0 comments on commit 89b9d1b

Please sign in to comment.