Exemplo n.º 1
0
        public LibInputBackend()
        {
            var ctx = libinput_path_create_context();

            _inputQueue = new(e => _onInput?.Invoke(e));
            new Thread(() => InputThread(ctx)).Start();
        }
Exemplo n.º 2
0
 public EvDevBackend(EvDevDeviceDescription[] devices)
 {
     _deviceDescriptions = devices;
     _inputQueue         = new RawEventGroupingThreadingHelper(e => _onInput?.Invoke(e));
 }