mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-04 12:42:48 +01:00
99ceb03a1c
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
40 lines
1.4 KiB
C++
40 lines
1.4 KiB
C++
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "core/hle/service/hid/xcd.h"
|
|
|
|
namespace Service::HID {
|
|
|
|
XCD_SYS::XCD_SYS(Core::System& system_) : ServiceFramework{system_, "xcd:sys"} {
|
|
// clang-format off
|
|
static const FunctionInfo functions[] = {
|
|
{0, nullptr, "GetDataFormat"},
|
|
{1, nullptr, "SetDataFormat"},
|
|
{2, nullptr, "GetMcuState"},
|
|
{3, nullptr, "SetMcuState"},
|
|
{4, nullptr, "GetMcuVersionForNfc"},
|
|
{5, nullptr, "CheckNfcDevicePower"},
|
|
{10, nullptr, "SetNfcEvent"},
|
|
{11, nullptr, "GetNfcInfo"},
|
|
{12, nullptr, "StartNfcDiscovery"},
|
|
{13, nullptr, "StopNfcDiscovery"},
|
|
{14, nullptr, "StartNtagRead"},
|
|
{15, nullptr, "StartNtagWrite"},
|
|
{16, nullptr, "SendNfcRawData"},
|
|
{17, nullptr, "RegisterMifareKey"},
|
|
{18, nullptr, "ClearMifareKey"},
|
|
{19, nullptr, "StartMifareRead"},
|
|
{20, nullptr, "StartMifareWrite"},
|
|
{101, nullptr, "GetAwakeTriggerReasonForLeftRail"},
|
|
{102, nullptr, "GetAwakeTriggerReasonForRightRail"},
|
|
{103, nullptr, "GetAwakeTriggerBatteryLevelTransitionForLeftRail"},
|
|
{104, nullptr, "GetAwakeTriggerBatteryLevelTransitionForRightRail"},
|
|
};
|
|
// clang-format on
|
|
|
|
RegisterHandlers(functions);
|
|
}
|
|
|
|
XCD_SYS::~XCD_SYS() = default;
|
|
|
|
} // namespace Service::HID
|