Commit Graph

49 Commits

Author SHA1 Message Date
Victor Brekenfeld 8fbce616a6 libinput: update to 0.4.1 2018-12-05 22:45:01 +01:00
Victor Brekenfeld f8499e533a libinput: fix warning when not building backend_session 2018-11-29 16:13:07 +01:00
Victor Brekenfeld 9ee44672a0 cargo fmt 2018-11-29 16:13:07 +01:00
Victor Brekenfeld 505791e336 Upgrade backends to calloop 0.4 and renamed gl-traits 2018-11-29 16:13:05 +01:00
Pablo Stebler 630b659ae6 Upgrade calloop and winit (#114)
* Fix compilation with calloop 0.4

* Use `Into` instead of changing signatures

* Bump winit to 0.18

* Fix logind for calloop 0.4

* Cargo fmt
2018-11-17 18:01:04 +01:00
Colin Benner 734d2ce996 Fmt, spelling and capitalisation fixes (#113)
* Rename priviledged to privileged in backend/drm/mod.rs

* Fix a number of typos in comments

* Fix typos in string literals

* Wrap identifiers with backticks in doc comments

* Spelling and capitalisation in doc comments

* Use XWayland in comments

This seems to be the standard capitalisation, even though the executable
is called `Xwayland`.

* Use Glium instead of glium in comments

* Use DRM and API in comments

* Fix remaining occurrence of 'priviledged'

* Reformat code to appease Travis' rustfmt
2018-10-30 13:56:30 +01:00
Jonas Platte a77e29d9b5 lib: Use nested imports 2018-10-07 22:39:18 +02:00
Victor Berger bd08f78acd Return the backends to the user if binding fails. 2018-09-28 18:01:33 +02:00
Victor Berger 454f874284 cargo fmt 2018-09-25 00:32:09 +02:00
Victor Berger 605895e30f update to wayland-rs 0.21 2018-09-25 00:31:58 +02:00
Colin Benner 4598ba0b48 address a bunch of clippy warnings 2018-06-28 11:33:49 +02:00
Victor Berger 53242bd974 backend.libinput: migrate to wayland-rs 0.20 2018-04-18 09:53:54 +02:00
Drakulix d051e141cf Refactor PointerAxisEvent to handle multiple axis 2018-03-22 16:10:32 +01:00
Drakulix 81375a085f Allow relative mouse movement to be negative 2018-03-13 15:06:52 +01:00
Drakulix 5cfdf931fb Update for wayland-server 0.14 2018-02-21 21:02:14 +01:00
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