From cbb9e9e809c14e70658d269b0af771ba93b1d507 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 15 Dec 2015 12:39:52 +1000 Subject: tablet: add libinput_tablet_tool_is_unique() For checking if a tablet tool can be uniquely identified by libinput. In practice this means checking for a nonzero serial number, but let's not restrict ourselves to allowing just that. Signed-off-by: Peter Hutterer Reviewed-by: Hans de Goede --- src/libinput.sym | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libinput.sym') diff --git a/src/libinput.sym b/src/libinput.sym index ddfe81d..22a8dd8 100644 --- a/src/libinput.sym +++ b/src/libinput.sym @@ -226,6 +226,7 @@ LIBINPUT_TABLET_SUPPORT { libinput_tablet_tool_has_wheel; libinput_tablet_tool_has_slider; libinput_tablet_tool_has_button; + libinput_tablet_tool_is_unique; libinput_tablet_tool_ref; libinput_tablet_tool_set_user_data; libinput_tablet_tool_unref; -- cgit v1.2.3