mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-01-07 22:50:13 +01:00
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:
parent
b5f0899352
commit
4096d100ee
1 changed files with 6 additions and 6 deletions
12
src/libei.h
12
src/libei.h
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue