We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cd155b commit be8d165Copy full SHA for be8d165
dhc/src/input/mod.rs
@@ -357,12 +357,14 @@ impl RawInputManager {
357
358
let mut events = VecDeque::new();
359
for id in killed {
360
+ info!("XInputDevice({:?}) left", id);
361
events.push_back(RawInputEvent::DeviceRemoved(DeviceId::XInput(id)));
362
self.xinput_devices.remove(&id);
363
}
364
365
let default_inputs = DeviceInputs::default();
366
for id in new {
367
+ info!("XInputDevice({:?}) arrived", id);
368
let (write, read) = triple_buffer::TripleBuffer::new(default_inputs).split();
369
let xinput_device = XInputDeviceState { buffer: write };
370
self.xinput_devices.insert(id, xinput_device);
0 commit comments