Scott Anderson
47985d2dc5
Multiseat fixes
7 years ago
emersion
0b58579564
Add support for discrete axis values
7 years ago
morganamilo
6305e6327f
Fix typos in comments and strings
7 years ago
emersion
2551ef8871
input-device: add output_name field, populate it from libinput
7 years ago
emersion
79da4c175e
backend/headless: remove useless destructor
7 years ago
emersion
625a7a48dc
Don't use the wlr_ prefix for static functions
7 years ago
emersion
71ca45e2c0
Make sure we don't use others' prefixes
7 years ago
emersion
b0d99f5c67
Remove wlr_ prefix from local symbols
7 years ago
Drew DeVault
56deff41b6
Implement input inhibit in rootston
7 years ago
Drew DeVault
ac219cbda6
Remove width_mm from tablet events
7 years ago
Drew DeVault
324b9d910d
Remove width_mm from wlr_touch events
7 years ago
Drew DeVault
a35a5786b0
Remove width_mm from wlr_pointer events
7 years ago
Drew DeVault
bfc0e95d2c
Add mode support to libinput backend
...
And extend tablet example with tilt and ring support
7 years ago
Scott Anderson
3c9fc7c68e
Add const to x11 and input interfaces
7 years ago
Dan Robertson
99e6cba3c3
Fix null deref in wlr_libinput_backend_destroy
...
If input_event is null (e.g. if backend_start has not been called yet)
wl_event_source_remove will result in a null deref.
7 years ago
Drew DeVault
1d9be89e2d
Revert "ELF Visibility"
7 years ago
Scott Anderson
86269052eb
Explicitly export EFL symbols
7 years ago
Scott Anderson
f27c0b44b8
Remove usec_to_msec from public API
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
36ead80cd1
Make wlr_signal_emit_safe private
7 years ago
emersion
10ecf871f2
Remove wlr_backend.events.{output_remove,device_remove}
7 years ago
emersion
5e58d46cc1
Add wlr_signal_emit_safe
7 years ago
emersion
babdd6ccf7
backend: fix use-after-free when destroying backends
...
The backend destroy signal is emitted before the output_remove
signal is. When the destroy signal is emitted listeners remove
their output_remove listener, so the output_remove signal is never
received and listeners have an invalid output pointer.
The correct way to solve this would be to remove the output_remove
signal completely and use the wlr_output.events.destroy signal
instead. This isn't yet possible because wl_signal_emit is unsafe
and listeners cannot be removed in listeners.
7 years ago
Dominique Martinet
3e228b0b2a
libinput backend: add wlr_input_device_is_libinput
7 years ago
emersion
9d43adaafa
Listen to display destroy in backends
7 years ago
emersion
016744ef4d
Refactor wlr_list inside wlroots
7 years ago
Tony Crisci
f61986e8db
rename touch slot to touch id
7 years ago
emersion
bb79ada49f
Fix a bunch of mistakes detected with scan-build
7 years ago
Drew DeVault
6d8e1abfc0
Improve input sensitivity
...
We now use doubles until the last minute, which makes it so we can move
the pointer more precisely. This also includes a fix for tablet tools,
which move absolutely and sometimes do not update the X or Y axis.
7 years ago
Dominique Martinet
b53db8c39e
libinput backend destroy: fix small leak
7 years ago
Dominique Martinet
43cd3c7aea
Indentation fix
...
Some space sneaked in. tabtabtab.
7 years ago
Dominique Martinet
e3ee2cd9c7
rootston exit: fix libinput destroy
...
The wlr_list -> wl_list rework changed 'wlr_devices' to
wl_list, but missed its use on destroy.
7 years ago
Tony Crisci
875a5b446f
remove time usec
7 years ago
Tony Crisci
a224e74fad
refactor input time_sec to time_msec
7 years ago
Drew DeVault
c5fff08f8a
Forgot to rename these
7 years ago
Drew DeVault
169b68b17c
Rename remaining refs to wlr_list
7 years ago
Heghedus Razvan
e1f196a3e9
Replace list_t with wl_list for wlr_input_device
...
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
7 years ago
D.B
7cdc19d57f
Fix duplicated pointer axis events
...
In pointer.c, some axis event was emitted even if the event pointer did not have
current axis.
In X11 backend pointer scroll events seem to be composed of both BUTTON_PRESS
and BUTTON_RELEASE. Therefore we should skip one of them (RELEASE) to avoid
event duplication.
7 years ago
Versus Void
568b270cdf
Use xkb_state_update_mask() with Wayland backend
...
Fix #158
7 years ago
Tony Crisci
0f56326cb8
fix libinput wlr-keyboard use after free
7 years ago
Drew DeVault
61e451ea1b
Move keyboard logic to wlr_{keyboard,seat}
7 years ago
Drew DeVault
6daf9e9ab2
Merge pull request #120 from acrisci/feature/wlr-cursor
...
wlr_cursor
7 years ago
Tony Crisci
df0ee7f25f
implement tablet tool devices
7 years ago
Tony Crisci
c914697676
add device to touch events
7 years ago
Tony Crisci
98f4cdfccb
implement wlr_cursor_map_input_to_output
7 years ago
Scott Anderson
fb93628bda
Merge wlr_udev into wlr_session
7 years ago
Dominique Martinet
12782eabfe
libinput: wl_event_source_remove on destroy
7 years ago
Drew DeVault
beb84940cf
Improve no device detection support
7 years ago
Drew DeVault
3ac10a81bd
Merge pull request #94 from martinetd/libinput_no_device
...
libinput: fail if no input found on init
7 years ago
Calvin Lee
901c14c409
Prevent alloc errors from crashing in `list_t`
...
This commit changes the `list_t` api so that alloc errors can be
detected and worked around. Also fixes errors not found in 5cc7342
7 years ago