ei: more docs that data is in pixels or mm

This depends on the device type and was-already documented in some
functions but not others.
This commit is contained in:
Peter Hutterer 2023-06-06 10:53:16 +10:00
parent b5f0899352
commit 4096d100ee

View file

@ -1407,8 +1407,8 @@ ei_device_frame(struct ei_device *device, uint64_t time);
* This method is only available on an ei sender context.
*
* @param device The EI device
* @param x The x movement in logical pixels
* @param y The y movement in logical pixels
* @param x The x movement in logical pixels or mm, depending on the device type
* @param y The y movement in logical pixels or mm, depending on the device type
*/
void
ei_device_pointer_motion(struct ei_device *device, double x, double y);
@ -1425,8 +1425,8 @@ ei_device_pointer_motion(struct ei_device *device, double x, double y);
* This method is only available on an ei sender context.
*
* @param device The EI device
* @param x The x position in logical pixels
* @param y The y position in logical pixels
* @param x The x position in logical pixels or mm, depending on the device type
* @param y The y position in logical pixels or mm, depending on the device type
*/
void
ei_device_pointer_motion_absolute(struct ei_device *device,
@ -1463,8 +1463,8 @@ ei_device_button_button(struct ei_device *device,
* This method is only available on an ei sender context.
*
* @param device The EI device
* @param x The x scroll distance in logical pixels
* @param y The y scroll distance in logical pixels
* @param x The x scroll distance in logical pixels or mm, depending on the device type
* @param y The y scroll distance in logical pixels or mm, depending on the device type
*
* @see ei_device_scroll_discrete
*/