From 6abf0733c468723cdcfeada94fd2c05af405f0b2 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 26 Aug 2015 13:31:56 +1000 Subject: [PATCH] Drop ratbag_button_get_identifier This is something better handled by mapping the various button types into a specific string on the client-side. Signed-off-by: Peter Hutterer --- src/libratbag.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/libratbag.h b/src/libratbag.h index 7fb0383b..f8876ff1 100644 --- a/src/libratbag.h +++ b/src/libratbag.h @@ -506,20 +506,6 @@ ratbag_button_get_type(struct ratbag_button *button); int ratbag_button_set_type(struct ratbag_button *button, enum ratbag_button_type type); -/** - * @ingroup device - * - * Return the identifier of the physical button, if stored in the hardware. - * - * FIXME: does this even exist? this function is only here because I though - * of get_type second :) - * FIXME: do we need to handle UTF8 here? - * - * @return The identifier of the button. - */ -const char * -ratbag_button_get_identifier(struct ratbag_button *button); - /** * @ingroup device *