}
}
+int
+evdev_scroll_get_wheel_click_angle(struct evdev_device *device)
+{
+ return device->scroll.wheel_click_angle.x;
+}
+
static inline void
evdev_process_event(struct evdev_device *device, struct input_event *e)
{
void
evdev_init_natural_scroll(struct evdev_device *device);
+int
+evdev_scroll_get_wheel_click_angle(struct evdev_device *device);
+
void
evdev_init_button_scroll(struct evdev_device *device,
void (*change_scroll_method)(struct evdev_device *));
return device->config.natural_scroll->get_default_enabled(device);
}
+LIBINPUT_EXPORT int
+libinput_device_config_scroll_get_wheel_click_angle(struct libinput_device *device)
+{
+ return evdev_scroll_get_wheel_click_angle((struct evdev_device *) device);
+}
+
LIBINPUT_EXPORT int
libinput_device_config_left_handed_is_available(struct libinput_device *device)
{
int
libinput_device_config_scroll_get_default_natural_scroll_enabled(struct libinput_device *device);
+int
+libinput_device_config_scroll_get_wheel_click_angle(struct libinput_device *device);
+
/**
* @ingroup config
*
libinput_device_config_scroll_set_button;
libinput_device_config_scroll_set_method;
libinput_device_config_scroll_set_natural_scroll_enabled;
+ libinput_device_config_scroll_get_wheel_click_angle;
libinput_device_config_send_events_get_default_mode;
libinput_device_config_send_events_get_mode;
libinput_device_config_send_events_get_modes;