summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Device.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2019-05-12 20:19:31 +0200
committerLéo Lam <leo@innovatetechnologi.es>2019-05-27 20:09:55 +0200
commit256c9375c96b4c6ad68b2c50ab714aa66951f41b (patch)
treeed858b10cfb5746edf24f069b320290cc15ec84e /Source/Core/InputCommon/ControllerInterface/Device.cpp
parent054b1172e3a68a45a8416118206a97ed24aec821 (diff)
Move libusb utilities to LibusbUtils
* Simplifies libusb context usage and allows us to set options for all contexts easily. Notably, this lets us enable usbdk support in libusb, which is now opt-in in the latest version. * Moves the libusb config descriptor wrapper class to LibusbUtils too since that could easily be reused. * Moves device listing to LibusbUtils too and add a lock around it as some libusb backends are not thread safe. * Consequences: only a single context and a single event handling thread is used now, which is more efficient.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Device.cpp')
0 files changed, 0 insertions, 0 deletions