2014-12-09 12:52:45 +10:00
|
|
|
/* in alphabetical order! */
|
|
|
|
|
|
2015-03-04 15:36:35 +10:00
|
|
|
LIBINPUT_0.12.0 {
|
2014-12-09 12:52:45 +10:00
|
|
|
global:
|
|
|
|
|
libinput_config_status_to_str;
|
|
|
|
|
libinput_device_config_accel_get_default_speed;
|
|
|
|
|
libinput_device_config_accel_get_speed;
|
|
|
|
|
libinput_device_config_accel_is_available;
|
|
|
|
|
libinput_device_config_accel_set_speed;
|
|
|
|
|
libinput_device_config_calibration_get_default_matrix;
|
|
|
|
|
libinput_device_config_calibration_get_matrix;
|
|
|
|
|
libinput_device_config_calibration_has_matrix;
|
|
|
|
|
libinput_device_config_calibration_set_matrix;
|
2015-03-04 15:36:35 +10:00
|
|
|
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;
|
2015-03-06 15:51:49 +10:00
|
|
|
libinput_device_config_left_handed_get;
|
|
|
|
|
libinput_device_config_left_handed_get_default;
|
|
|
|
|
libinput_device_config_left_handed_is_available;
|
|
|
|
|
libinput_device_config_left_handed_set;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_device_config_scroll_get_button;
|
|
|
|
|
libinput_device_config_scroll_get_default_button;
|
|
|
|
|
libinput_device_config_scroll_get_default_method;
|
|
|
|
|
libinput_device_config_scroll_get_default_natural_scroll_enabled;
|
|
|
|
|
libinput_device_config_scroll_get_method;
|
2015-03-06 15:51:49 +10:00
|
|
|
libinput_device_config_scroll_get_methods;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_device_config_scroll_get_natural_scroll_enabled;
|
|
|
|
|
libinput_device_config_scroll_has_natural_scroll;
|
|
|
|
|
libinput_device_config_scroll_set_button;
|
|
|
|
|
libinput_device_config_scroll_set_method;
|
|
|
|
|
libinput_device_config_scroll_set_natural_scroll_enabled;
|
|
|
|
|
libinput_device_config_send_events_get_default_mode;
|
|
|
|
|
libinput_device_config_send_events_get_mode;
|
2015-03-06 15:51:49 +10:00
|
|
|
libinput_device_config_send_events_get_modes;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_device_config_send_events_set_mode;
|
|
|
|
|
libinput_device_config_tap_get_default_enabled;
|
|
|
|
|
libinput_device_config_tap_get_enabled;
|
|
|
|
|
libinput_device_config_tap_get_finger_count;
|
|
|
|
|
libinput_device_config_tap_set_enabled;
|
|
|
|
|
libinput_device_get_context;
|
2015-03-04 15:36:35 +10:00
|
|
|
libinput_device_get_device_group;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_device_get_id_product;
|
|
|
|
|
libinput_device_get_id_vendor;
|
|
|
|
|
libinput_device_get_name;
|
|
|
|
|
libinput_device_get_output_name;
|
|
|
|
|
libinput_device_get_seat;
|
|
|
|
|
libinput_device_get_size;
|
|
|
|
|
libinput_device_get_sysname;
|
|
|
|
|
libinput_device_get_udev_device;
|
|
|
|
|
libinput_device_get_user_data;
|
2015-03-04 15:36:35 +10:00
|
|
|
libinput_device_group_get_user_data;
|
|
|
|
|
libinput_device_group_ref;
|
|
|
|
|
libinput_device_group_set_user_data;
|
|
|
|
|
libinput_device_group_unref;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_device_has_capability;
|
|
|
|
|
libinput_device_led_update;
|
2015-03-04 15:36:35 +10:00
|
|
|
libinput_device_pointer_has_button;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_device_ref;
|
|
|
|
|
libinput_device_set_seat_logical_name;
|
|
|
|
|
libinput_device_set_user_data;
|
|
|
|
|
libinput_device_unref;
|
|
|
|
|
libinput_dispatch;
|
|
|
|
|
libinput_event_destroy;
|
|
|
|
|
libinput_event_device_notify_get_base_event;
|
|
|
|
|
libinput_event_get_context;
|
|
|
|
|
libinput_event_get_device;
|
2015-03-06 15:51:49 +10:00
|
|
|
libinput_event_get_device_notify_event;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_event_get_keyboard_event;
|
|
|
|
|
libinput_event_get_pointer_event;
|
|
|
|
|
libinput_event_get_touch_event;
|
|
|
|
|
libinput_event_get_type;
|
|
|
|
|
libinput_event_keyboard_get_base_event;
|
|
|
|
|
libinput_event_keyboard_get_key;
|
2015-03-06 15:51:49 +10:00
|
|
|
libinput_event_keyboard_get_key_state;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_event_keyboard_get_seat_key_count;
|
|
|
|
|
libinput_event_keyboard_get_time;
|
|
|
|
|
libinput_event_pointer_get_absolute_x;
|
|
|
|
|
libinput_event_pointer_get_absolute_x_transformed;
|
|
|
|
|
libinput_event_pointer_get_absolute_y;
|
|
|
|
|
libinput_event_pointer_get_absolute_y_transformed;
|
Add pointer axis sources to the API
For a caller to implement/provide kinetic scrolling ("inertial scrolling",
"fling scrolling"), it needs to know how the scrolling motion was implemented,
and what to expect in the future. Add this information to the pointer axis
event.
The three scroll sources we have are:
* wheels: scrolling is in discreet steps, you don't know when it ends, the
wheel will just stop sending events
* fingers: scrolling is continuous coordinate space, we know when it stops and
we can tell the caller
* continuous: scrolling is in continuous coordinate space but we may or may not
know when it stops. if scroll lock is used, the device may never technically
get out of scroll mode even if it doesn't send events at any given moment
Use case: trackpoint/trackball scroll emulation on button press
The stop event is now codified in the API documentation, so callers can use
that for kinetic scrolling. libinput does not implement kinetic scrolling
itself.
Not covered by this patch:
* The wheel event is currently defined as "typical mouse wheel step", this is
different to Qt where the step value is 1/8 of a degree. Some better
definition here may help.
* It is unclear how an absolute device would map into relative motion if the
device itself is not controlling absolute motion.
* For diagonal scrolling, the vertical/horizontal terminator events would come
in separately. The caller would have to deal with that somehow.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Original patch, before the rebase onto today's master:
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-11-05 16:22:07 +10:00
|
|
|
libinput_event_pointer_get_axis_source;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_event_pointer_get_axis_value;
|
2015-01-13 15:15:02 +10:00
|
|
|
libinput_event_pointer_get_axis_value_discrete;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_event_pointer_get_base_event;
|
|
|
|
|
libinput_event_pointer_get_button;
|
2015-03-06 15:51:49 +10:00
|
|
|
libinput_event_pointer_get_button_state;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_event_pointer_get_dx;
|
|
|
|
|
libinput_event_pointer_get_dx_unaccelerated;
|
|
|
|
|
libinput_event_pointer_get_dy;
|
|
|
|
|
libinput_event_pointer_get_dy_unaccelerated;
|
|
|
|
|
libinput_event_pointer_get_seat_button_count;
|
|
|
|
|
libinput_event_pointer_get_time;
|
2014-12-24 11:10:04 +10:00
|
|
|
libinput_event_pointer_has_axis;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_event_touch_get_base_event;
|
|
|
|
|
libinput_event_touch_get_seat_slot;
|
|
|
|
|
libinput_event_touch_get_slot;
|
|
|
|
|
libinput_event_touch_get_time;
|
|
|
|
|
libinput_event_touch_get_x;
|
|
|
|
|
libinput_event_touch_get_x_transformed;
|
|
|
|
|
libinput_event_touch_get_y;
|
|
|
|
|
libinput_event_touch_get_y_transformed;
|
|
|
|
|
libinput_get_event;
|
|
|
|
|
libinput_get_fd;
|
|
|
|
|
libinput_get_user_data;
|
|
|
|
|
libinput_log_get_priority;
|
|
|
|
|
libinput_log_set_handler;
|
|
|
|
|
libinput_log_set_priority;
|
|
|
|
|
libinput_next_event_type;
|
|
|
|
|
libinput_path_add_device;
|
|
|
|
|
libinput_path_create_context;
|
|
|
|
|
libinput_path_remove_device;
|
|
|
|
|
libinput_ref;
|
|
|
|
|
libinput_resume;
|
|
|
|
|
libinput_seat_get_context;
|
|
|
|
|
libinput_seat_get_logical_name;
|
|
|
|
|
libinput_seat_get_physical_name;
|
|
|
|
|
libinput_seat_get_user_data;
|
|
|
|
|
libinput_seat_ref;
|
|
|
|
|
libinput_seat_set_user_data;
|
|
|
|
|
libinput_seat_unref;
|
2014-12-23 13:37:28 +10:00
|
|
|
libinput_set_user_data;
|
2014-12-09 12:52:45 +10:00
|
|
|
libinput_suspend;
|
|
|
|
|
libinput_udev_assign_seat;
|
|
|
|
|
libinput_udev_create_context;
|
|
|
|
|
libinput_unref;
|
2014-12-18 09:39:46 +10:00
|
|
|
|
2015-01-20 15:32:07 +10:00
|
|
|
local:
|
|
|
|
|
*;
|
|
|
|
|
};
|
|
|
|
|
|
2015-04-14 12:08:33 +10:00
|
|
|
LIBINPUT_0.14.0 {
|
|
|
|
|
global:
|
2015-04-22 08:20:34 +10:00
|
|
|
libinput_device_config_middle_emulation_get_default_enabled;
|
|
|
|
|
libinput_device_config_middle_emulation_get_enabled;
|
2015-04-14 12:08:33 +10:00
|
|
|
libinput_device_config_middle_emulation_is_available;
|
|
|
|
|
libinput_device_config_middle_emulation_set_enabled;
|
|
|
|
|
} LIBINPUT_0.12.0;
|
2015-04-22 14:36:25 +10:00
|
|
|
|
|
|
|
|
LIBINPUT_0.15.0 {
|
|
|
|
|
global:
|
|
|
|
|
libinput_device_keyboard_has_key;
|
|
|
|
|
} LIBINPUT_0.14.0;
|
2015-05-22 14:21:21 +10:00
|
|
|
|
2015-06-16 17:02:02 +10:00
|
|
|
LIBINPUT_0.19.0 {
|
2015-07-06 11:22:34 +10:00
|
|
|
global:
|
2015-06-16 17:02:02 +10:00
|
|
|
libinput_device_config_tap_set_drag_lock_enabled;
|
|
|
|
|
libinput_device_config_tap_get_drag_lock_enabled;
|
|
|
|
|
libinput_device_config_tap_get_default_drag_lock_enabled;
|
|
|
|
|
} LIBINPUT_0.15.0;
|
2015-06-29 13:56:05 +10:00
|
|
|
|
2015-07-06 14:10:48 +10:00
|
|
|
LIBINPUT_0.20.0 {
|
2015-03-04 15:24:04 +01:00
|
|
|
libinput_event_gesture_get_angle_delta;
|
2015-01-22 16:41:50 +01:00
|
|
|
libinput_event_gesture_get_base_event;
|
2015-04-29 13:19:51 +02:00
|
|
|
libinput_event_gesture_get_cancelled;
|
2015-01-22 16:41:50 +01:00
|
|
|
libinput_event_gesture_get_dx;
|
|
|
|
|
libinput_event_gesture_get_dx_unaccelerated;
|
|
|
|
|
libinput_event_gesture_get_dy;
|
|
|
|
|
libinput_event_gesture_get_dy_unaccelerated;
|
|
|
|
|
libinput_event_gesture_get_finger_count;
|
2015-03-04 15:24:04 +01:00
|
|
|
libinput_event_gesture_get_scale;
|
2015-01-22 16:41:50 +01:00
|
|
|
libinput_event_gesture_get_time;
|
|
|
|
|
libinput_event_get_gesture_event;
|
|
|
|
|
} LIBINPUT_0.19.0;
|
2015-07-08 13:50:24 +10:00
|
|
|
|
2015-07-08 15:03:06 +10:00
|
|
|
LIBINPUT_0.21.0 {
|
|
|
|
|
libinput_device_config_dwt_is_available;
|
|
|
|
|
libinput_device_config_dwt_set_enabled;
|
|
|
|
|
libinput_device_config_dwt_get_enabled;
|
|
|
|
|
libinput_device_config_dwt_get_default_enabled;
|
2015-07-27 17:51:52 +08:00
|
|
|
libinput_event_gesture_get_time_usec;
|
|
|
|
|
libinput_event_keyboard_get_time_usec;
|
|
|
|
|
libinput_event_pointer_get_time_usec;
|
|
|
|
|
libinput_event_touch_get_time_usec;
|
2015-07-08 15:03:06 +10:00
|
|
|
} LIBINPUT_0.20.0;
|
2015-07-24 10:56:05 +10:00
|
|
|
|
2015-08-27 13:13:47 +10:00
|
|
|
LIBINPUT_1.1 {
|
|
|
|
|
libinput_device_config_accel_get_profile;
|
|
|
|
|
libinput_device_config_accel_get_profiles;
|
|
|
|
|
libinput_device_config_accel_get_default_profile;
|
|
|
|
|
libinput_device_config_accel_set_profile;
|
|
|
|
|
} LIBINPUT_0.21.0;
|
2015-10-21 19:19:01 +10:00
|
|
|
|
2016-01-22 17:59:19 +10:00
|
|
|
LIBINPUT_1.2 {
|
|
|
|
|
libinput_device_config_tap_get_drag_enabled;
|
|
|
|
|
libinput_device_config_tap_get_default_drag_enabled;
|
|
|
|
|
libinput_device_config_tap_set_drag_enabled;
|
2015-11-16 16:28:55 +10:00
|
|
|
libinput_event_get_tablet_tool_event;
|
2015-12-14 09:05:37 +10:00
|
|
|
libinput_event_tablet_tool_x_has_changed;
|
|
|
|
|
libinput_event_tablet_tool_y_has_changed;
|
|
|
|
|
libinput_event_tablet_tool_pressure_has_changed;
|
|
|
|
|
libinput_event_tablet_tool_distance_has_changed;
|
|
|
|
|
libinput_event_tablet_tool_rotation_has_changed;
|
|
|
|
|
libinput_event_tablet_tool_tilt_x_has_changed;
|
|
|
|
|
libinput_event_tablet_tool_tilt_y_has_changed;
|
|
|
|
|
libinput_event_tablet_tool_wheel_has_changed;
|
|
|
|
|
libinput_event_tablet_tool_slider_has_changed;
|
2016-01-06 14:47:18 +10:00
|
|
|
libinput_event_tablet_tool_get_dx;
|
|
|
|
|
libinput_event_tablet_tool_get_dy;
|
2015-12-14 09:51:11 +10:00
|
|
|
libinput_event_tablet_tool_get_x;
|
|
|
|
|
libinput_event_tablet_tool_get_y;
|
|
|
|
|
libinput_event_tablet_tool_get_pressure;
|
|
|
|
|
libinput_event_tablet_tool_get_distance;
|
|
|
|
|
libinput_event_tablet_tool_get_tilt_x;
|
|
|
|
|
libinput_event_tablet_tool_get_tilt_y;
|
|
|
|
|
libinput_event_tablet_tool_get_rotation;
|
|
|
|
|
libinput_event_tablet_tool_get_slider_position;
|
2015-12-14 10:23:56 +10:00
|
|
|
libinput_event_tablet_tool_get_wheel_delta;
|
|
|
|
|
libinput_event_tablet_tool_get_wheel_delta_discrete;
|
2015-11-16 16:28:55 +10:00
|
|
|
libinput_event_tablet_tool_get_base_event;
|
|
|
|
|
libinput_event_tablet_tool_get_button;
|
|
|
|
|
libinput_event_tablet_tool_get_button_state;
|
|
|
|
|
libinput_event_tablet_tool_get_proximity_state;
|
|
|
|
|
libinput_event_tablet_tool_get_seat_button_count;
|
|
|
|
|
libinput_event_tablet_tool_get_time;
|
|
|
|
|
libinput_event_tablet_tool_get_tip_state;
|
|
|
|
|
libinput_event_tablet_tool_get_tool;
|
|
|
|
|
libinput_event_tablet_tool_get_x_transformed;
|
|
|
|
|
libinput_event_tablet_tool_get_y_transformed;
|
|
|
|
|
libinput_event_tablet_tool_get_time_usec;
|
2015-11-16 16:35:03 +10:00
|
|
|
libinput_tablet_tool_get_serial;
|
|
|
|
|
libinput_tablet_tool_get_tool_id;
|
|
|
|
|
libinput_tablet_tool_get_type;
|
|
|
|
|
libinput_tablet_tool_get_user_data;
|
2015-12-14 10:06:56 +10:00
|
|
|
libinput_tablet_tool_has_pressure;
|
|
|
|
|
libinput_tablet_tool_has_distance;
|
|
|
|
|
libinput_tablet_tool_has_rotation;
|
|
|
|
|
libinput_tablet_tool_has_tilt;
|
|
|
|
|
libinput_tablet_tool_has_wheel;
|
|
|
|
|
libinput_tablet_tool_has_slider;
|
2015-11-16 16:35:03 +10:00
|
|
|
libinput_tablet_tool_has_button;
|
2015-12-15 12:39:52 +10:00
|
|
|
libinput_tablet_tool_is_unique;
|
2015-11-16 16:35:03 +10:00
|
|
|
libinput_tablet_tool_ref;
|
|
|
|
|
libinput_tablet_tool_set_user_data;
|
|
|
|
|
libinput_tablet_tool_unref;
|
2016-01-27 15:38:47 +10:00
|
|
|
} LIBINPUT_1.1;
|
2016-01-21 12:35:11 +10:00
|
|
|
|
2016-04-18 13:31:46 +10:00
|
|
|
LIBINPUT_1.3 {
|
2016-01-21 12:35:11 +10:00
|
|
|
libinput_device_tablet_pad_get_num_buttons;
|
|
|
|
|
libinput_device_tablet_pad_get_num_rings;
|
|
|
|
|
libinput_device_tablet_pad_get_num_strips;
|
|
|
|
|
libinput_event_get_tablet_pad_event;
|
|
|
|
|
libinput_event_tablet_pad_get_base_event;
|
|
|
|
|
libinput_event_tablet_pad_get_button_number;
|
|
|
|
|
libinput_event_tablet_pad_get_button_state;
|
|
|
|
|
libinput_event_tablet_pad_get_ring_position;
|
|
|
|
|
libinput_event_tablet_pad_get_ring_number;
|
|
|
|
|
libinput_event_tablet_pad_get_ring_source;
|
|
|
|
|
libinput_event_tablet_pad_get_strip_position;
|
|
|
|
|
libinput_event_tablet_pad_get_strip_number;
|
|
|
|
|
libinput_event_tablet_pad_get_strip_source;
|
|
|
|
|
libinput_event_tablet_pad_get_time;
|
|
|
|
|
libinput_event_tablet_pad_get_time_usec;
|
|
|
|
|
} LIBINPUT_1.2;
|
2016-05-03 13:52:53 +10:00
|
|
|
|
|
|
|
|
LIBINPUT_1.4 {
|
|
|
|
|
libinput_device_config_rotation_get_angle;
|
|
|
|
|
libinput_device_config_rotation_get_default_angle;
|
|
|
|
|
libinput_device_config_rotation_is_available;
|
|
|
|
|
libinput_device_config_rotation_set_angle;
|
2016-05-26 10:05:10 +10:00
|
|
|
libinput_device_tablet_pad_get_mode_group;
|
|
|
|
|
libinput_device_tablet_pad_get_num_mode_groups;
|
|
|
|
|
libinput_event_tablet_pad_get_mode;
|
|
|
|
|
libinput_event_tablet_pad_get_mode_group;
|
|
|
|
|
libinput_tablet_pad_mode_group_button_is_toggle;
|
|
|
|
|
libinput_tablet_pad_mode_group_get_index;
|
|
|
|
|
libinput_tablet_pad_mode_group_get_mode;
|
|
|
|
|
libinput_tablet_pad_mode_group_get_num_modes;
|
|
|
|
|
libinput_tablet_pad_mode_group_get_user_data;
|
|
|
|
|
libinput_tablet_pad_mode_group_has_button;
|
|
|
|
|
libinput_tablet_pad_mode_group_has_strip;
|
|
|
|
|
libinput_tablet_pad_mode_group_has_ring;
|
|
|
|
|
libinput_tablet_pad_mode_group_ref;
|
|
|
|
|
libinput_tablet_pad_mode_group_set_user_data;
|
|
|
|
|
libinput_tablet_pad_mode_group_unref;
|
2016-05-03 13:52:53 +10:00
|
|
|
} LIBINPUT_1.3;
|
2016-07-21 11:46:05 +10:00
|
|
|
|
|
|
|
|
LIBINPUT_1.5 {
|
|
|
|
|
libinput_device_config_tap_get_button_map;
|
|
|
|
|
libinput_device_config_tap_get_default_button_map;
|
|
|
|
|
libinput_device_config_tap_set_button_map;
|
|
|
|
|
} LIBINPUT_1.4;
|
2017-01-20 16:54:13 +11:00
|
|
|
|
2017-02-23 10:49:11 +10:00
|
|
|
LIBINPUT_1.7 {
|
2017-01-20 16:54:13 +11:00
|
|
|
libinput_event_get_switch_event;
|
|
|
|
|
libinput_event_switch_get_base_event;
|
|
|
|
|
libinput_event_switch_get_switch_state;
|
|
|
|
|
libinput_event_switch_get_switch;
|
|
|
|
|
libinput_event_switch_get_time;
|
|
|
|
|
libinput_event_switch_get_time_usec;
|
|
|
|
|
} LIBINPUT_1.5;
|
2017-04-21 16:57:39 +10:00
|
|
|
|
|
|
|
|
LIBINPUT_1.9 {
|
|
|
|
|
libinput_device_switch_has_switch;
|
|
|
|
|
} LIBINPUT_1.7;
|