mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-28 17:37:11 +02:00
parent
93977c262b
commit
7adf242291
4 changed files with 15 additions and 1 deletions
|
@ -81,6 +81,12 @@
|
|||
Device.Memory.WriteInt64(controllerOffset + 0x28,
|
||||
(Connected ? (uint)HidControllerConnState.ControllerStateConnected : 0) |
|
||||
(_currentLayout == HidControllerLayouts.HandheldJoined ? (uint)HidControllerConnState.ControllerStateWired : 0));
|
||||
|
||||
controllerOffset = WriteInput(buttons, leftStick, rightStick, HidControllerLayouts.Main);
|
||||
|
||||
Device.Memory.WriteInt64(controllerOffset + 0x28,
|
||||
(Connected ? (uint)HidControllerConnState.ControllerStateWired : 0) |
|
||||
(uint)HidControllerConnState.ControllerStateWired);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue