add support for "pixel-perfect" scrolling

This commit is contained in:
Unrud 2018-07-31 20:19:10 +02:00
parent 209eaf960d
commit c1509ac8fa
6 changed files with 57 additions and 19 deletions

View file

@ -42,5 +42,6 @@ type Plugin interface {
KeyboardText(text string) error
PointerButton(button uint, press bool) error
PointerMove(deltaX, deltaY int) error
PointerScroll(stepsHorizontal, stepsVertical int) error
PointerScroll(deltaHorizontal, deltaVertical int) error
PointerScrollFinish() error
}