ef72bae42f
The main motivation behind this change is to prepare input abstractions for virtual input devices so the wl_seat can properly advertise caps or the cursor getting properly mapped/unmapped when a fake pointer is added/removed on a system without a hardware mouse connected. With this, there are three abstractions - InputDevice, InputBackend, and InputRedirection. An InputDevice represents an input device such as a mouse, a keyboard, a tablet, etc. The InputBackend class notifies the InputRedirection about (dis-)connected devices. The InputRedirection manages the input devices. Such design allows to unify the event flow for real and virtual input devices. There can be several input backends active. For example, the libinput backend and an input backend that provides virtual input devices, e.g. libeis or org_kde_kwin_fake_input. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
device_test.cpp | ||
gesture_event_test.cpp | ||
input_event_test.cpp | ||
key_event_test.cpp | ||
mock_libinput.cpp | ||
mock_libinput.h | ||
pointer_event_test.cpp | ||
switch_event_test.cpp | ||
touch_event_test.cpp |