Simon Zeni
bd6c000d14
types/wlr_pointer: uniformize events name
2022-03-17 18:16:14 +00:00
Simon Zeni
4c8ecfcd4a
types/wlr_virtual_pointer_v1: remove destroy event
...
The destroy event from the pointer base wlr_input_device must be used
2022-03-11 20:02:21 +00:00
Simon Zeni
51cd3c0726
interface/wlr_pointer: rework destroy sequence
...
The destroy callback in wlr_pointer_impl has been removed. The function
`wlr_pointer_finish` has been introduced to clean up the resources owned by a
wlr_pointer.
`wlr_input_device_destroy` no longer destroys the wlr_pointer, attempting to
destroy a wlr_pointer will result in a no-op.
The field `name` has been added to the wlr_pointer_impl to be able to identify
a given wlr_pointer device.
2022-03-07 16:37:41 +00:00
Simon Zeni
c84744321e
types/wlr_virtual_pointer_v1: fix wlr_pointer destroy sequence
2022-02-28 22:02:57 +00:00
Simon Zeni
d5480efc7a
types/wlr_pointer: add base wlr_input_device
...
wlr_pointer owns its wlr_input_device. It will be initialized when the
pointer is initialized, and finished when the pointer is destroyed.
2022-02-21 17:11:32 +00:00
Simon Zeni
71577e351e
types/wlr_input_device: default vendor and product id to 0
...
vendor and product id are set when needed by the libinput backend
2022-02-21 17:11:32 +00:00
Antonin Décimo
d9bb792794
Fix incorrect format parameters
2020-07-27 10:49:19 +02:00
Ronan Pigott
39fd2335bf
virtual_pointer: remember current axis for axis events
2020-07-27 10:39:41 +02:00
Andri Yngvason
273b280f46
virtual-pointer: Add request for mapping to specific output
2020-02-10 21:01:38 +01:00
Andri Yngvason
51f8c22f4d
virtual-pointer: Actually use the value passed to axis_discrete
...
It turns out that scrolling doesn't work unless this value is set somewhere.
2020-01-03 15:13:07 -07:00
Josef Gajdusek
a7b538008b
virtual-pointer: Add support for the wlr-virtual-pointer-unstable-v1
2019-12-31 10:29:02 +01:00