Apply suggestions from code review

Co-authored-by: gdkchan <gab.dark.100@gmail.com>
This commit is contained in:
Tsubasa0504 2024-04-15 07:04:22 +09:00 committed by GitHub
parent 12a1836594
commit 16ef3e9c7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
private bool _sixAxisSensorFusionEnabled;
private bool _unintendedHomeButtonInputProtectionEnabled;
private bool _NpadAnalogStickCenterClampEnabled;
private bool _npadAnalogStickCenterClampEnabled;
private bool _vibrationPermitted;
private bool _usbFullKeyControllerEnabled;
private readonly bool _isFirmwareUpdateAvailableForSixAxisSensor;
@ -1107,8 +1107,8 @@ namespace Ryujinx.HLE.HOS.Services.Hid
// If one is found, it returns the npadIdType of the other Npad and a bool.
// If not, it returns nothing.
}
[CommandCmif(134)] //6.1.0+
//SetNpadUseAnalogStickUseCenterClamp(bool Enable, nn::applet::AppletResourceUserId)
[CommandCmif(134)] // 6.1.0+
// SetNpadUseAnalogStickUseCenterClamp(bool Enable, nn::applet::AppletResourceUserId)
public ResultCode SetNpadUseAnalogStickUseCenterClamp(ServiceCtx context)
{
_NpadAnalogStickCenterClampEnabled = context.RequestData.ReadBoolean();