mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 19:18:13 +02:00
compositor-rdp: update link to wheel delta explanation
The previous one is a 404 now. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
parent
e1434d3ca8
commit
60fb1c4ce8
1 changed files with 1 additions and 1 deletions
|
|
@ -975,7 +975,7 @@ xf_mouseEvent(rdpInput *input, UINT16 flags, UINT16 x, UINT16 y)
|
|||
* The RDP specs says the lower bits of flags contains the "the number of rotation
|
||||
* units the mouse wheel was rotated".
|
||||
*
|
||||
* http://blogs.msdn.com/b/oldnewthing/archive/2013/01/23/10387366.aspx explains the 120 value
|
||||
* https://blogs.msdn.microsoft.com/oldnewthing/20130123-00/?p=5473 explains the 120 value
|
||||
*/
|
||||
axis = (DEFAULT_AXIS_STEP_DISTANCE * (flags & 0xff)) / 120;
|
||||
if (flags & PTR_FLAGS_WHEEL_NEGATIVE)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue