|
|
@ -320,7 +320,7 @@ Hid::Hid(Core::System& system_)
|
|
|
|
{308, nullptr, "SetSevenSixAxisSensorFusionStrength"},
|
|
|
|
{308, nullptr, "SetSevenSixAxisSensorFusionStrength"},
|
|
|
|
{309, nullptr, "GetSevenSixAxisSensorFusionStrength"},
|
|
|
|
{309, nullptr, "GetSevenSixAxisSensorFusionStrength"},
|
|
|
|
{310, &Hid::ResetSevenSixAxisSensorTimestamp, "ResetSevenSixAxisSensorTimestamp"},
|
|
|
|
{310, &Hid::ResetSevenSixAxisSensorTimestamp, "ResetSevenSixAxisSensorTimestamp"},
|
|
|
|
{400, nullptr, "IsUsbFullKeyControllerEnabled"},
|
|
|
|
{400, &Hid::IsUsbFullKeyControllerEnabled, "IsUsbFullKeyControllerEnabled"},
|
|
|
|
{401, nullptr, "EnableUsbFullKeyController"},
|
|
|
|
{401, nullptr, "EnableUsbFullKeyController"},
|
|
|
|
{402, nullptr, "IsUsbFullKeyControllerConnected"},
|
|
|
|
{402, nullptr, "IsUsbFullKeyControllerConnected"},
|
|
|
|
{403, nullptr, "HasBattery"},
|
|
|
|
{403, nullptr, "HasBattery"},
|
|
|
@ -1673,6 +1673,16 @@ void Hid::ResetSevenSixAxisSensorTimestamp(Kernel::HLERequestContext& ctx) {
|
|
|
|
rb.Push(ResultSuccess);
|
|
|
|
rb.Push(ResultSuccess);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Hid::IsUsbFullKeyControllerEnabled(Kernel::HLERequestContext& ctx) {
|
|
|
|
|
|
|
|
IPC::RequestParser rp{ctx};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LOG_WARNING(Service_HID, "(STUBBED) called");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IPC::ResponseBuilder rb{ctx, 3};
|
|
|
|
|
|
|
|
rb.Push(ResultSuccess);
|
|
|
|
|
|
|
|
rb.Push(false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Hid::SetIsPalmaAllConnectable(Kernel::HLERequestContext& ctx) {
|
|
|
|
void Hid::SetIsPalmaAllConnectable(Kernel::HLERequestContext& ctx) {
|
|
|
|
IPC::RequestParser rp{ctx};
|
|
|
|
IPC::RequestParser rp{ctx};
|
|
|
|
const auto applet_resource_user_id{rp.Pop<u64>()};
|
|
|
|
const auto applet_resource_user_id{rp.Pop<u64>()};
|
|
|
|