diff --git a/configure.ac b/configure.ac index 1a4eb3af..e4b7df03 100644 --- a/configure.ac +++ b/configure.ac @@ -30,7 +30,7 @@ AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz]) # - If binary compatibility has been broken (eg removed or changed interfaces) # change to C+1:0:0 # - If the interface is the same as the previous version, change to C:R+1:A -LIBINPUT_LT_VERSION=9:0:2 +LIBINPUT_LT_VERSION=10:0:0 AC_SUBST(LIBINPUT_LT_VERSION) AM_SILENT_RULES([yes]) diff --git a/src/libinput.c b/src/libinput.c index c1e68eb1..42354ba9 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -1369,12 +1369,6 @@ libinput_device_pointer_has_button(struct libinput_device *device, uint32_t code return evdev_device_has_button((struct evdev_device *)device, code); } -LIBINPUT_EXPORT int -libinput_device_has_button(struct libinput_device *device, uint32_t code) -{ - return libinput_device_pointer_has_button(device, code); -} - LIBINPUT_EXPORT struct libinput_event * libinput_event_device_notify_get_base_event(struct libinput_event_device_notify *event) { diff --git a/src/libinput.h b/src/libinput.h index 22c02d69..ca08c3e8 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -1682,14 +1682,6 @@ libinput_device_get_size(struct libinput_device *device, int libinput_device_pointer_has_button(struct libinput_device *device, uint32_t code); -/** - * @ingroup device - * - * @deprecated Use libinput_device_pointer_has_button() instead. - */ -int -libinput_device_has_button(struct libinput_device *device, uint32_t code) LIBINPUT_ATTRIBUTE_DEPRECATED; - /** * @ingroup device * diff --git a/src/libinput.sym b/src/libinput.sym index 644e9105..eed067f0 100644 --- a/src/libinput.sym +++ b/src/libinput.sym @@ -1,6 +1,6 @@ /* in alphabetical order! */ -LIBINPUT_0.8.0 { +LIBINPUT_0.12.0 { global: libinput_config_status_to_str; libinput_device_config_accel_get_default_speed; @@ -15,6 +15,10 @@ global: libinput_device_config_calibration_get_matrix; libinput_device_config_calibration_has_matrix; libinput_device_config_calibration_set_matrix; + libinput_device_config_click_get_default_method; + libinput_device_config_click_get_method; + libinput_device_config_click_get_methods; + libinput_device_config_click_set_method; libinput_device_config_scroll_get_button; libinput_device_config_scroll_get_default_button; libinput_device_config_scroll_get_default_method; @@ -35,6 +39,7 @@ global: libinput_device_config_tap_get_finger_count; libinput_device_config_tap_set_enabled; libinput_device_get_context; + libinput_device_get_device_group; libinput_device_get_id_product; libinput_device_get_id_vendor; libinput_device_get_name; @@ -44,9 +49,13 @@ global: libinput_device_get_sysname; libinput_device_get_udev_device; libinput_device_get_user_data; - libinput_device_has_button; + libinput_device_group_get_user_data; + libinput_device_group_ref; + libinput_device_group_set_user_data; + libinput_device_group_unref; libinput_device_has_capability; libinput_device_led_update; + libinput_device_pointer_has_button; libinput_device_ref; libinput_device_set_seat_logical_name; libinput_device_set_user_data; @@ -118,21 +127,3 @@ global: local: *; }; - -LIBINPUT_0.9.0 { -global: - libinput_device_config_click_get_default_method; - libinput_device_config_click_get_method; - libinput_device_config_click_get_methods; - libinput_device_config_click_set_method; -} LIBINPUT_0.8.0; - -LIBINPUT_0.11.0 { - libinput_device_get_device_group; - libinput_device_group_get_user_data; - libinput_device_group_ref; - libinput_device_group_set_user_data; - libinput_device_group_unref; - - libinput_device_pointer_has_button; -} LIBINPUT_0.9.0;