Valkirie / HandheldCompanion

ControllerService
Other
1.17k stars 91 forks source link

After waking up from sleep through the quick steam menu, the gyroscope does not work. #989

Open PowerfulPony opened 7 months ago

PowerfulPony commented 7 months ago

Device manufacturer

Device model Legion Go 8APU1

Handheld Companion Version 0.20.4.1

Describe the bug If through steam, go to sleep (steam void hibernation), or if you wait for deep sleep (2 stage hybrid), or go into hibernation. Then after waking up the device, the gyroscope does not work (Sometimes HC crashes)

This is not a hardware problem, the gyroscope works in windows, in the browser, in Lenovo Space. Restarting HC doesn't help. Changing the gyroscope from internal to external, or none at all, does not help.

To Reproduce Steps to reproduce the behavior:

  1. Launch Steam in Big Picture
  2. Call up the “Steam menu” (via the guide/sony button) or “exit menu”
  3. Select "Sleep"
  4. Wait until the device indicators turn off (Steam sends you into deep combined sleep)
  5. Turn on the device
  6. Try using a gyroscope through a 3D controller or as a mouse or joystick emulator

Expected behavior Everything works as before the shutdown

Logs file HandheldCompanion-20240215.log 20:50 start (gyro work) 20:51 hibernation by steam 20:53 awake (gyro does not work) 20:53 restart (gyro does not work)

PowerfulPony commented 7 months ago

I found a direct correlation in the presence of the reWASDService (Game Controller Mapping Service) in process, i.e. there is influence of third applications, but something happens exactly after leaving hibernation