mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-31 01:50:10 +01:00
doc: inverse event type restriction of x and y accessors
Signed-off-by: Andreas Pokorny <andreas.pokorny@canonical.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
9c4241ca82
commit
a2c9787a8b
1 changed files with 8 additions and 4 deletions
|
|
@ -894,7 +894,8 @@ libinput_event_touch_get_seat_slot(struct libinput_event_touch *event);
|
|||
* LIBINPUT_EVENT_TOUCH_MOTION, this function returns 0.
|
||||
*
|
||||
* @note It is an application bug to call this function for events of type
|
||||
* @ref LIBINPUT_EVENT_TOUCH_DOWN or @ref LIBINPUT_EVENT_TOUCH_MOTION.
|
||||
* other than @ref LIBINPUT_EVENT_TOUCH_DOWN or @ref
|
||||
* LIBINPUT_EVENT_TOUCH_MOTION.
|
||||
*
|
||||
* @param event The libinput touch event
|
||||
* @return The current absolute x coordinate
|
||||
|
|
@ -913,7 +914,8 @@ libinput_event_touch_get_x(struct libinput_event_touch *event);
|
|||
* LIBINPUT_EVENT_TOUCH_MOTION, this function returns 0.
|
||||
*
|
||||
* @note It is an application bug to call this function for events of type
|
||||
* @ref LIBINPUT_EVENT_TOUCH_DOWN or @ref LIBINPUT_EVENT_TOUCH_MOTION.
|
||||
* other than @ref LIBINPUT_EVENT_TOUCH_DOWN or @ref
|
||||
* LIBINPUT_EVENT_TOUCH_MOTION.
|
||||
*
|
||||
* @param event The libinput touch event
|
||||
* @return The current absolute y coordinate
|
||||
|
|
@ -931,7 +933,8 @@ libinput_event_touch_get_y(struct libinput_event_touch *event);
|
|||
* LIBINPUT_EVENT_TOUCH_MOTION, this function returns 0.
|
||||
*
|
||||
* @note It is an application bug to call this function for events of type
|
||||
* @ref LIBINPUT_EVENT_TOUCH_DOWN or @ref LIBINPUT_EVENT_TOUCH_MOTION.
|
||||
* other than @ref LIBINPUT_EVENT_TOUCH_DOWN or @ref
|
||||
* LIBINPUT_EVENT_TOUCH_MOTION.
|
||||
*
|
||||
* @param event The libinput touch event
|
||||
* @param width The current output screen width
|
||||
|
|
@ -951,7 +954,8 @@ libinput_event_touch_get_x_transformed(struct libinput_event_touch *event,
|
|||
* LIBINPUT_EVENT_TOUCH_MOTION, this function returns 0.
|
||||
*
|
||||
* @note It is an application bug to call this function for events of type
|
||||
* @ref LIBINPUT_EVENT_TOUCH_DOWN or @ref LIBINPUT_EVENT_TOUCH_MOTION.
|
||||
* other than @ref LIBINPUT_EVENT_TOUCH_DOWN or @ref
|
||||
* LIBINPUT_EVENT_TOUCH_MOTION.
|
||||
*
|
||||
* @param event The libinput touch event
|
||||
* @param height The current output screen height
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue