mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-10 21:00:21 +01:00
doc: fix typos
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f976619ebd
commit
5311d76ec1
1 changed files with 3 additions and 3 deletions
|
|
@ -25,16 +25,16 @@ movement speed increases, acceleration is applied - at high speeds a low-dpi
|
|||
device will roughly feel the same as a higher-dpi mouse.
|
||||
|
||||
This normalization only applies to accelerated coordinates, unaccelerated
|
||||
coordiantes are left in device-units. It is up to the caller to interpret
|
||||
coordinates are left in device-units. It is up to the caller to interpret
|
||||
those coordinates correctly.
|
||||
|
||||
@section Normalization of touchpad coordinates
|
||||
|
||||
Touchpads may have a different resolution for the horizontal and vertical
|
||||
axis. Interpreting coordinates from the touchpad without taking resolutino
|
||||
axis. Interpreting coordinates from the touchpad without taking resolution
|
||||
into account results in uneven motion.
|
||||
|
||||
libinput scales unaccelerated touchpad motion do the resolution of the
|
||||
libinput scales unaccelerated touchpad motion to the resolution of the
|
||||
touchpad's x axis, i.e. the unaccelerated value for the y axis is:
|
||||
y = (x / resolution_x) * resolution_y
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue