Apply suggestions from code review
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
This commit is contained in:
parent
12a1836594
commit
16ef3e9c7b
1 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@ namespace Ryujinx.HLE.HOS.Services.Hid
|
||||||
|
|
||||||
private bool _sixAxisSensorFusionEnabled;
|
private bool _sixAxisSensorFusionEnabled;
|
||||||
private bool _unintendedHomeButtonInputProtectionEnabled;
|
private bool _unintendedHomeButtonInputProtectionEnabled;
|
||||||
private bool _NpadAnalogStickCenterClampEnabled;
|
private bool _npadAnalogStickCenterClampEnabled;
|
||||||
private bool _vibrationPermitted;
|
private bool _vibrationPermitted;
|
||||||
private bool _usbFullKeyControllerEnabled;
|
private bool _usbFullKeyControllerEnabled;
|
||||||
private readonly bool _isFirmwareUpdateAvailableForSixAxisSensor;
|
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 one is found, it returns the npadIdType of the other Npad and a bool.
|
||||||
// If not, it returns nothing.
|
// If not, it returns nothing.
|
||||||
}
|
}
|
||||||
[CommandCmif(134)] //6.1.0+
|
[CommandCmif(134)] // 6.1.0+
|
||||||
//SetNpadUseAnalogStickUseCenterClamp(bool Enable, nn::applet::AppletResourceUserId)
|
// SetNpadUseAnalogStickUseCenterClamp(bool Enable, nn::applet::AppletResourceUserId)
|
||||||
public ResultCode SetNpadUseAnalogStickUseCenterClamp(ServiceCtx context)
|
public ResultCode SetNpadUseAnalogStickUseCenterClamp(ServiceCtx context)
|
||||||
{
|
{
|
||||||
_NpadAnalogStickCenterClampEnabled = context.RequestData.ReadBoolean();
|
_NpadAnalogStickCenterClampEnabled = context.RequestData.ReadBoolean();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue