public LibInputBackend() { var ctx = libinput_path_create_context(); _inputQueue = new(e => _onInput?.Invoke(e)); new Thread(() => InputThread(ctx)).Start(); }
public EvDevBackend(EvDevDeviceDescription[] devices) { _deviceDescriptions = devices; _inputQueue = new RawEventGroupingThreadingHelper(e => _onInput?.Invoke(e)); }