Drakulix
b80674bdf5
Introduce SessionObserver
...
`DrmDevice` and `UdevBackend` now do not need to be wrapped into `StateToken`s anymore, but can return a separate `SessionObserver` object using the new `AsSessionObserver` trait.
This change was motivated by allowing the `UdevHandle` to obtain a mutable reference to an `EventLoopHandle` to create wayland object, e.g. a `wl_output` object.
Previously this was not possible.
Depends on https://github.com/Smithay/wayland-rs/pull/164
2018-02-21 14:24:20 +01:00
Drakulix
5411209bb5
Fix libinput panic on tty switch
2018-02-20 19:19:22 +01:00
Drakulix
b16c62b19f
Add logind session
2018-02-20 19:19:22 +01:00
Drakulix
ef0cfb9f2c
Add names to backend seats
2018-02-19 12:49:55 +01:00
Drakulix
a9c75656a2
Add event_loop to `InputBackend` and `InputHandler` traits
2018-01-12 16:41:33 +01:00
Drakulix
4207611e6d
rustfmt code
2017-12-15 19:22:44 +01:00
Drakulix
71f107118f
Make libinput backend work without the session feature
2017-12-03 22:44:45 +01:00
Drakulix
13be5b1634
Add documentation
2017-11-29 22:28:14 +01:00
Drakulix
96bb3570ba
Get input working
2017-11-29 22:28:14 +01:00
Drakulix
c7682e77de
Udev backend
2017-11-29 22:28:13 +01:00
Drakulix
f09bdd0a30
cargo fmt
2017-09-20 20:06:58 +02:00
Victor Berger
88773cf1b3
cargo fmt
2017-09-05 19:51:05 +02:00
Drakulix
206007f5a5
rustfmt 0.9 update
2017-06-20 11:31:18 +02:00
Drakulix
4053d2bc30
Fixed copy&paste logging message errors
2017-06-04 23:10:50 +02:00
Drakulix
5bc641852f
Bugfixes
2017-05-21 22:40:15 +02:00
Drakulix
a2f3b2a303
Fix some clippy warnings
2017-04-26 20:19:57 +02:00
Drakulix
f7d3b3dee3
Fix formatting
2017-04-26 20:10:28 +02:00
Drakulix
4c5e2be11e
Update libinput to v0.1.1
2017-04-26 20:09:57 +02:00
Drakulix
092fc198c3
Fixup glutin backend and more bugfixes
2017-04-24 00:30:02 +02:00
Drakulix
4fc595f68a
Fixup libinput backend to use new event api
2017-04-23 19:55:43 +02:00
Drakulix
9b6273f297
Add set_output_metadata
2017-04-18 21:57:53 +02:00
Drakulix
109f4035e8
Move set_cursor_position to the graphics backend
2017-04-18 21:20:08 +02:00
Drakulix
f95faba80f
Add libinput documentation
2017-04-15 22:53:09 +02:00
Drakulix
4c591a86bd
Add initializer
2017-04-15 22:38:33 +02:00
Drakulix
8cbe96d1ac
Add more logging
2017-04-15 22:28:51 +02:00
Drakulix
da93b4ac67
Add touch event passing
2017-04-15 22:20:11 +02:00
Drakulix
2cc401594d
Add pointer button event passing
2017-04-15 22:02:44 +02:00
Drakulix
01884a6aa8
Add pointer axis event passing
2017-04-15 21:46:27 +02:00
Drakulix
a5cfed8715
Impl key events
2017-04-15 20:26:44 +02:00
Drakulix
3edb489a92
Add logging to libinput backend
2017-04-15 20:17:26 +02:00
Drakulix
4f3a140543
Fix capability update
2017-04-15 19:29:15 +02:00
Drakulix
0980f8a66c
Remove done todos
2017-04-15 19:29:15 +02:00
Drakulix
ab35f140a0
Use entry api for `DeviceAddedEvent`s seat creation/update
2017-04-15 19:29:15 +02:00
Drakulix
5369cc2927
First draft of a libinput backend
...
- Only does DeviceEvent parsing for now
- No way to initialize it
2017-04-15 19:29:15 +02:00