input_common: Disable SDL driver with switch controllers
This commit is contained in:
parent
d80e6c399b
commit
2d802893e7
6 changed files with 44 additions and 6 deletions
|
@ -13,6 +13,10 @@
|
|||
namespace InputCommon {
|
||||
|
||||
Joycons::Joycons(const std::string& input_engine_) : InputEngine(input_engine_) {
|
||||
// Avoid conflicting with SDL driver
|
||||
if (!Settings::values.enable_joycon_driver) {
|
||||
return;
|
||||
}
|
||||
LOG_INFO(Input, "Joycon driver Initialization started");
|
||||
const int init_res = SDL_hid_init();
|
||||
if (init_res == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue