mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-20 14:39:18 +02:00
[hid] Add Quaternion to ReloadInput (#4240)
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- Adds Quaternion to ReloadInput. What does it fix? Displays correct space in VR (only test on SSBU) not tested any further. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4240 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
This commit is contained in:
parent
54046ac60e
commit
612409c7ba
1 changed files with 1 additions and 0 deletions
|
|
@ -100,6 +100,7 @@ void EmulatedConsole::ReloadInput() {
|
|||
motion.gyro = emulated_motion.GetGyroscope();
|
||||
motion.rotation = emulated_motion.GetRotations();
|
||||
motion.orientation = emulated_motion.GetOrientation();
|
||||
motion.quaternion = emulated_motion.GetQuaternion();
|
||||
motion.is_at_rest = !emulated_motion.IsMoving(motion_sensitivity);
|
||||
|
||||
// Unique index for identifying touch device source
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue