}
static void
-fallback_suspend(struct evdev_dispatch *evdev_dispatch,
- struct evdev_device *device)
+fallback_return_to_neutral_state(struct fallback_dispatch *dispatch,
+ struct evdev_device *device)
{
- struct fallback_dispatch *dispatch = (struct fallback_dispatch*)evdev_dispatch;
struct libinput *libinput = evdev_libinput_context(device);
uint64_t time;
}
static void
+fallback_suspend(struct evdev_dispatch *evdev_dispatch,
+ struct evdev_device *device)
+{
+ struct fallback_dispatch *dispatch = (struct fallback_dispatch*)evdev_dispatch;
+
+ fallback_return_to_neutral_state(dispatch, device);
+}
+
+static void
fallback_destroy(struct evdev_dispatch *evdev_dispatch)
{
struct fallback_dispatch *dispatch = (struct fallback_dispatch*)evdev_dispatch;