summaryrefslogtreecommitdiff
path: root/src/input_common/helpers/joycon_driver.cpp
diff options
context:
space:
mode:
authorGravatar german772023-01-08 21:37:13 -0600
committerGravatar Narr the Reg2023-01-19 18:05:22 -0600
commitb40aefb39ea8b4259acdbe0616790c2234d9b9ef (patch)
tree00f11d49e134a345c93ef8e4d31b03198282c516 /src/input_common/helpers/joycon_driver.cpp
parentinput_common: Fix issue where ring and irs are enabled at the same time (diff)
downloadyuzu-b40aefb39ea8b4259acdbe0616790c2234d9b9ef.tar.gz
yuzu-b40aefb39ea8b4259acdbe0616790c2234d9b9ef.tar.xz
yuzu-b40aefb39ea8b4259acdbe0616790c2234d9b9ef.zip
input_common: Drop Pro controller support from custom driver
Diffstat (limited to 'src/input_common/helpers/joycon_driver.cpp')
-rw-r--r--src/input_common/helpers/joycon_driver.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/input_common/helpers/joycon_driver.cpp b/src/input_common/helpers/joycon_driver.cpp
index e8aef028a..552572343 100644
--- a/src/input_common/helpers/joycon_driver.cpp
+++ b/src/input_common/helpers/joycon_driver.cpp
@@ -540,11 +540,9 @@ void JoyconDriver::SetCallbacks(const JoyconCallbacks& callbacks) {
540 540
541DriverResult JoyconDriver::GetDeviceType(SDL_hid_device_info* device_info, 541DriverResult JoyconDriver::GetDeviceType(SDL_hid_device_info* device_info,
542 ControllerType& controller_type) { 542 ControllerType& controller_type) {
543 static constexpr std::array<std::pair<u32, ControllerType>, 4> supported_devices{ 543 static constexpr std::array<std::pair<u32, ControllerType>, 2> supported_devices{
544 std::pair<u32, ControllerType>{0x2006, ControllerType::Left}, 544 std::pair<u32, ControllerType>{0x2006, ControllerType::Left},
545 {0x2007, ControllerType::Right}, 545 {0x2007, ControllerType::Right},
546 {0x2009, ControllerType::Pro},
547 {0x200E, ControllerType::Grip},
548 }; 546 };
549 constexpr u16 nintendo_vendor_id = 0x057e; 547 constexpr u16 nintendo_vendor_id = 0x057e;
550 548