Commit Graph

9 Commits

Author SHA1 Message Date
Christian Muehlhaeuser 6301f93cb2 Support receiving batched mouse events
Mouse events may trigger more than a single events simultaneously.

Fixes #212.
2022-02-13 08:40:04 +01:00
Christian Rocha c5ed2b4a01 Add missing GoDocs 2021-09-07 15:37:14 -04:00
Christian Rocha 955ce5c82c Extract magic number in X10 mouse parser 2021-05-31 10:43:31 -04:00
Aleksandr Krivoshchekov 02a0509e34
Simplify code and add tests for `mouse.go` (#30) 2020-11-07 06:43:12 +01:00
Christian Rocha a4f26594b2
Rename MouseButton type to more accurate MouseEventType 2020-09-28 16:42:39 -04:00
Christian Rocha 591fcabdd4
Explicitly ignore io.Writer return values in renderer 2020-09-28 16:28:40 -04:00
Christian Rocha 8025748828
Some comments on mouse stuff 2020-07-13 11:26:57 -04:00
Christian Rocha d6cf9e69b6
Fix bug where wheel wasn't being reported if a modifier was pressed 2020-06-23 10:34:46 -04:00
Christian Rocha d86cb562f0
Add basic mouse support 2020-06-22 20:41:26 -04:00