Rob Bradford
07b0da9c77
udev-seat: Separate the seat out to its own structure
...
Thie will allow us to instantiate multiple seats.
2013-11-16 21:54:06 +01:00
Rob Bradford
8065462d6d
udev-seat: Make the udev_input structure an embedded structure
...
And as a result of this stop iterating through the compositor seat list
(of one item) and instead access the udev_input structure directly.
This enables a refactoring to pull out the weston_seat into a separate
structure permitting multiple seats.
2013-11-16 21:54:06 +01:00
Rob Bradford
a16790bcd7
udev-seat: Rename udev_seat to udev_input
...
This is a pure rename of the structure, functions and local variables in
preparation of the separation of the seat from the other udev input
handling.
2013-11-16 21:54:06 +01:00
Rob Bradford
56ed9258da
input: Add a seat name parameter to weston_seat_init
2013-11-16 21:54:06 +01:00
Rob Bradford
a777610a77
udev-seat: Fail input setup only if no devices are found
...
Rather than failing if we cannot open any single device fail the input
setup if there are no input devices added.
https://bugs.freedesktop.org/show_bug.cgi?id=64506
2013-11-16 21:54:06 +01:00
Kristian Høgsberg
790c9a1faf
input: Merge wl_seat into weston_seat
2013-11-16 21:54:06 +01:00
Kristian Høgsberg
43ff34cdae
udev-seat: Simplfy enable/disable interface a bit
...
We always call enable_udev_monitor and add_devices together and always
disable_udev_monitor and remove_devices together. Let's just have one
entry point for enable and one for disable.
2013-11-16 21:54:06 +01:00
Kristian Høgsberg
0b6adcd5e4
compositor-drm: Move udev_seat to its own file
...
We get to move the input code out of compositor-drm.c and we'll be
able to share it with the fbdev backend.
2013-11-16 21:54:06 +01:00
Kristian Høgsberg
9b1b1ba4df
Initial commit.
...
This has the basic event loop, and a first cut of the libffi dispatcher.
2008-09-30 09:56:42 -04:00