mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-22 20:40:06 +01:00
Drop deprecated API
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
parent
d9e633cf66
commit
b7501655c0
2 changed files with 0 additions and 28 deletions
|
|
@ -791,11 +791,6 @@ int libevdev_get_##name(const struct libevdev *dev) \
|
||||||
return dev->ids.field; \
|
return dev->ids.field; \
|
||||||
}
|
}
|
||||||
|
|
||||||
PRODUCT_GETTER(product_id, product); /* DEPRECATED */
|
|
||||||
PRODUCT_GETTER(vendor_id, vendor); /* DEPRECATED */
|
|
||||||
PRODUCT_GETTER(bustype, bustype); /* DEPRECATED */
|
|
||||||
PRODUCT_GETTER(version, version); /* DEPRECATED */
|
|
||||||
|
|
||||||
PRODUCT_GETTER(id_product, product);
|
PRODUCT_GETTER(id_product, product);
|
||||||
PRODUCT_GETTER(id_vendor, vendor);
|
PRODUCT_GETTER(id_vendor, vendor);
|
||||||
PRODUCT_GETTER(id_bustype, bustype);
|
PRODUCT_GETTER(id_bustype, bustype);
|
||||||
|
|
@ -997,8 +992,6 @@ int libevdev_get_abs_##name(const struct libevdev *dev, unsigned int code) \
|
||||||
return absinfo ? absinfo->field : 0; \
|
return absinfo ? absinfo->field : 0; \
|
||||||
}
|
}
|
||||||
|
|
||||||
ABS_GETTER(max, maximum); /* DEPRECATED */
|
|
||||||
ABS_GETTER(min, minimum); /* DEPRECATED */
|
|
||||||
ABS_GETTER(maximum, maximum);
|
ABS_GETTER(maximum, maximum);
|
||||||
ABS_GETTER(minimum, minimum);
|
ABS_GETTER(minimum, minimum);
|
||||||
ABS_GETTER(fuzz, fuzz)
|
ABS_GETTER(fuzz, fuzz)
|
||||||
|
|
@ -1202,13 +1195,6 @@ libevdev_get_event_code_name(unsigned int type, unsigned int code)
|
||||||
return event_type_map[type][code];
|
return event_type_map[type][code];
|
||||||
}
|
}
|
||||||
|
|
||||||
/* DEPRECATED */
|
|
||||||
const char*
|
|
||||||
libevdev_get_input_prop_name(unsigned int prop)
|
|
||||||
{
|
|
||||||
return libevdev_get_property_name(prop);
|
|
||||||
}
|
|
||||||
|
|
||||||
const char*
|
const char*
|
||||||
libevdev_get_property_name(unsigned int prop)
|
libevdev_get_property_name(unsigned int prop)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1326,22 +1326,8 @@ int libevdev_get_repeat(struct libevdev *dev, int *delay, int *period);
|
||||||
#define LIBEVDEV_DEPRECATED
|
#define LIBEVDEV_DEPRECATED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* replacement: libevdev_get_abs_minimum */
|
|
||||||
int libevdev_get_abs_min(const struct libevdev *dev, unsigned int code) LIBEVDEV_DEPRECATED;
|
|
||||||
/* replacement: libevdev_get_abs_maximum */
|
|
||||||
int libevdev_get_abs_max(const struct libevdev *dev, unsigned int code) LIBEVDEV_DEPRECATED;
|
|
||||||
|
|
||||||
/* replacement: libevdev_get_property_name */
|
|
||||||
const char* libevdev_get_input_prop_name(unsigned int prop) LIBEVDEV_DEPRECATED;
|
|
||||||
|
|
||||||
int libevdev_get_product_id(const struct libevdev *dev) LIBEVDEV_DEPRECATED;
|
|
||||||
int libevdev_get_vendor_id(const struct libevdev *dev) LIBEVDEV_DEPRECATED;
|
|
||||||
int libevdev_get_bustype(const struct libevdev *dev) LIBEVDEV_DEPRECATED;
|
|
||||||
int libevdev_get_version(const struct libevdev *dev) LIBEVDEV_DEPRECATED;
|
|
||||||
|
|
||||||
/* replacement: libevdev_kernel_set_abs_info */
|
/* replacement: libevdev_kernel_set_abs_info */
|
||||||
int libevdev_kernel_set_abs_value(struct libevdev *dev, unsigned int code, const struct input_absinfo *abs) LIBEVDEV_DEPRECATED;
|
int libevdev_kernel_set_abs_value(struct libevdev *dev, unsigned int code, const struct input_absinfo *abs) LIBEVDEV_DEPRECATED;
|
||||||
|
|
||||||
|
|
||||||
/**************************************/
|
/**************************************/
|
||||||
#endif /* LIBEVDEV_H */
|
#endif /* LIBEVDEV_H */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue