mirror of
https://github.com/ndeadly/MissionControl
synced 2024-11-24 05:13:08 +00:00
19 lines
513 B
C++
19 lines
513 B
C++
#pragma once
|
|
#include "switchcontroller.hpp"
|
|
|
|
namespace ams::controller {
|
|
|
|
class JoyconController : public SwitchController {
|
|
|
|
public:
|
|
static constexpr const HardwareID hardwareIds[] = {
|
|
{0x057e, 0x2006}, // Official Joycon(L) Controller
|
|
{0x057e, 0x2007}, // Official Joycon(R) Controller
|
|
};
|
|
|
|
JoyconController(const bluetooth::Address *address)
|
|
: SwitchController(ControllerType_Joycon, address) {};
|
|
|
|
};
|
|
|
|
}
|