web_applet: Replace HIDButton with NpadButton

This commit is contained in:
german77
2021-10-24 01:02:56 -05:00
committed by Narr the Reg
parent b564f024f0
commit cc651c7c99
3 changed files with 42 additions and 34 deletions

View File

@ -28,7 +28,8 @@ namespace {
constexpr std::size_t HANDHELD_INDEX = 8;
void UpdateController(Core::HID::EmulatedController* controller, Core::HID::NpadType controller_type, bool connected) {
void UpdateController(Core::HID::EmulatedController* controller,
Core::HID::NpadType controller_type, bool connected) {
if (controller->IsConnected()) {
controller->Disconnect();
}