mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2025-12-24 22:50:05 +01:00
tools: make the demo client send the correct discrete events
Multiples of 120 are needed
This commit is contained in:
parent
cc053155a5
commit
1175595acf
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ int main(int argc, char **argv)
|
|||
ei_device_scroll_delta(ptr, 1, 1);
|
||||
ei_device_frame(ptr, now);
|
||||
now += interval;
|
||||
ei_device_scroll_discrete(ptr, 1, 1);
|
||||
ei_device_scroll_discrete(ptr, 120, 120);
|
||||
ei_device_frame(ptr, now);
|
||||
now += interval;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue