mirror of https://github.com/AxioDL/boo.git
HIDListenerWinUSB: Enable scanning during poll
This commit is contained in:
parent
42cedb77f0
commit
89e4a18d0b
|
@ -219,7 +219,9 @@ class HIDListenerWinUSB final : public IHIDListener {
|
||||||
public:
|
public:
|
||||||
HIDListenerWinUSB(DeviceFinder& finder) : m_finder(finder) {
|
HIDListenerWinUSB(DeviceFinder& finder) : m_finder(finder) {
|
||||||
/* Initial HID Device Add */
|
/* Initial HID Device Add */
|
||||||
|
m_scanningEnabled = true;
|
||||||
_pollDevices(nullptr);
|
_pollDevices(nullptr);
|
||||||
|
m_scanningEnabled = false;
|
||||||
|
|
||||||
/* XInput arbitration thread */
|
/* XInput arbitration thread */
|
||||||
for (const DeviceSignature* sig : m_finder.getTypes()) {
|
for (const DeviceSignature* sig : m_finder.getTypes()) {
|
||||||
|
|
Loading…
Reference in New Issue