mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-28 20:10:08 +01:00
Add the matching @see tags to the accel config
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit c5d9ecbdae)
This commit is contained in:
parent
ca416f94d7
commit
005efbf843
1 changed files with 16 additions and 0 deletions
|
|
@ -4246,6 +4246,10 @@ libinput_device_config_send_events_get_default_mode(struct libinput_device *devi
|
|||
* @param device The device to configure
|
||||
*
|
||||
* @return 0 if the device is not accelerated, nonzero if it is accelerated
|
||||
*
|
||||
* @see libinput_device_config_accel_set_speed
|
||||
* @see libinput_device_config_accel_get_speed
|
||||
* @see libinput_device_config_accel_get_default_speed
|
||||
*/
|
||||
int
|
||||
libinput_device_config_accel_is_available(struct libinput_device *device);
|
||||
|
|
@ -4265,6 +4269,10 @@ libinput_device_config_accel_is_available(struct libinput_device *device);
|
|||
* @param speed The normalized speed, in a range of [-1, 1]
|
||||
*
|
||||
* @return A config status code
|
||||
*
|
||||
* @see libinput_device_config_accel_is_available
|
||||
* @see libinput_device_config_accel_get_speed
|
||||
* @see libinput_device_config_accel_get_default_speed
|
||||
*/
|
||||
enum libinput_config_status
|
||||
libinput_device_config_accel_set_speed(struct libinput_device *device,
|
||||
|
|
@ -4280,6 +4288,10 @@ libinput_device_config_accel_set_speed(struct libinput_device *device,
|
|||
* @param device The device to configure
|
||||
*
|
||||
* @return The current speed, range -1 to 1
|
||||
*
|
||||
* @see libinput_device_config_accel_is_available
|
||||
* @see libinput_device_config_accel_set_speed
|
||||
* @see libinput_device_config_accel_get_default_speed
|
||||
*/
|
||||
double
|
||||
libinput_device_config_accel_get_speed(struct libinput_device *device);
|
||||
|
|
@ -4293,6 +4305,10 @@ libinput_device_config_accel_get_speed(struct libinput_device *device);
|
|||
*
|
||||
* @param device The device to configure
|
||||
* @return The default speed setting for this device.
|
||||
*
|
||||
* @see libinput_device_config_accel_is_available
|
||||
* @see libinput_device_config_accel_set_speed
|
||||
* @see libinput_device_config_accel_get_speed
|
||||
*/
|
||||
double
|
||||
libinput_device_config_accel_get_default_speed(struct libinput_device *device);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue