Module input

Source
Expand description

Tools for configuring input devices.

Modules§

acceleration
Constants determining the acceleration profile of a device.
capability
Constants specifying the capabilities of an input device.

Structs§

InputDevice
An input device.
Seat
A seat.

Enums§

FocusFollowsMouseMode
A focus-follows-mouse mode.
SwitchEvent
An event generated by a switch.

Functions§

disable_default_seat
Disables the creation of a default seat.
get_default_seat
Returns or creates the default seat.
get_seat
Returns or creates a seat.
get_seats
Returns all seats.
input_devices
Returns all input devices.
on_input_device_removed
Sets a closure to run when an input device has been removed.
on_new_input_device
Sets a closure to run when a new input device has been added.
on_new_seat
Sets a closure to run when a new seat has been created.
set_double_click_distance
Sets the maximum distance between two clicks to be registered as a double click by the compositor.
set_double_click_time
Sets the maximum time between two clicks to be registered as a double click by the compositor.
set_libei_socket_enabled
Enables or disables the unauthenticated libei socket.