return unhandled_device ? EVDEV_UNHANDLED_DEVICE : NULL;
}
-int
-evdev_device_get_keys(struct evdev_device *device, char *keys, size_t size)
-{
- memset(keys, 0, size);
- return 0;
-}
-
const char *
evdev_device_get_output(struct evdev_device *device)
{
evdev_device_led_update((struct evdev_device *) device, leds);
}
-LIBINPUT_EXPORT int
-libinput_device_get_keys(struct libinput_device *device,
- char *keys, size_t size)
-{
- return evdev_device_get_keys((struct evdev_device *) device,
- keys,
- size);
-}
-
-LIBINPUT_EXPORT void
-libinput_device_calibrate(struct libinput_device *device,
- float calibration[6])
-{
- evdev_device_calibrate((struct evdev_device *) device, calibration);
-}
-
LIBINPUT_EXPORT int
libinput_device_has_capability(struct libinput_device *device,
enum libinput_device_capability capability)
libinput_device_led_update(struct libinput_device *device,
enum libinput_led leds);
-/**
- * @ingroup device
- *
- * Set the bitmask in keys to the bitmask of the keys present on the device
- * (see linux/input.h), up to size characters.
- *
- * @param device A current input device
- * @param keys An array filled with the bitmask for the keys
- * @param size Size of the keys array
- *
- * @return The number of valid bytes in keys, or a negative errno on failure
- */
-int
-libinput_device_get_keys(struct libinput_device *device,
- char *keys, size_t size)
- LIBINPUT_ATTRIBUTE_DEPRECATED;
-
-/**
- * @ingroup device
- *
- * @deprecated Use libinput_device_config_calibration_set_matrix() instead.
- */
-void
-libinput_device_calibrate(struct libinput_device *device,
- float calibration[6])
- LIBINPUT_ATTRIBUTE_DEPRECATED;
-
/**
* @ingroup device
*