Väinö Mäkelä
f9f17b6236
virtual-pointer: Handle inert seats
...
Inert seats are handled like inert outputs, so they work as if the
wanted seat was NULL. The seat argument is only a suggestion, so this
is okay.
2023-06-03 10:43:12 +00:00
Consolatis
0cff058f38
wlr_virtual_pointer_v1: fix discrete scrolling
...
It seems it was forgotten to adjust when implementing
!3461 High-resolution scroll wheel support
2022-09-08 05:33:28 +02:00
Alexander Orzechowski
ef4baea0e2
Use wl_signal_emit_mutable
2022-08-18 07:16:16 -04:00
Isaac Freund
91943a68a6
wlr_input_device: remove anon union field
...
This union is unnecessary since the recent input device refactor and can
now be replaced by wlr_*_from_input_device() functions.
2022-06-21 18:42:07 +00:00
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