r57zone / DualShock4-emulator

DualShock4 emulation for Xbox controllers or keyboard and mouse / Эмуляция DualShock4 для Xbox контроллеров или клавиатуры и мыши
https://youtu.be/17hY1zTqoYQ
The Unlicense
189 stars 30 forks source link

Gyroscope doesn't work well in Infamous: Second Son #32

Closed r57zone closed 2 years ago

r57zone commented 2 years ago

Gyroscope doesn't work well in Infamous: Second Son

Related: http://www.youtube.com/watch?v=As4Jbf6Wu-M

BaklavaEnthusiast commented 2 years ago

tried it but still doesn't work for infamous. https://imgur.com/a/n3PajjQ

BaklavaEnthusiast commented 2 years ago

if i flip my phone around like a mad men it fills the bar a little

BaklavaEnthusiast commented 2 years ago

so it works a bit but not enough

BaklavaEnthusiast commented 2 years ago

passed the initial phase base contantly moving the phone. It seems orientation is centering itself so I have to constantly move the phone to replicate vertical holding of the ds4

BaklavaEnthusiast commented 2 years ago

No program I have seen so far accept gyro from android for ds4 emulation. reWASD only accepts it for controllers with physical sensor. While I passed the necessary section by rotating the phone like mad men most people wouldn't. If you can correct this I'm sure this program will become way more popular.

Unrelated note: for gyroscope section of this github page you could leave a note for getting FreePIE IMU since most people wouldn't have heard of it before. I got the .apk after installing opentrack program. C:\Program Files (x86)\opentrack\doc\contrib\freepie-udp

BaklavaEnthusiast commented 2 years ago

https://youtu.be/i7w4G1CIdog?t=667 -- at 11.07 game requires pressing both left and right side of touchpad. I tried the "H and K" buttons of this emulator but it didn't work?

r57zone commented 2 years ago

It seems to be added to last version 1.7.4, press the "H" and "I" button, also press "Enter"? (in keyboard mode), perhaps it will help to pass this moment. https://github.com/r57zone/DualShock4-emulator/releases

BaklavaEnthusiast commented 2 years ago

Checked it using VSCView and it should work if pressed "H" wait a bit then "I" then "enter" but I passed that section a few hours by using rewasd unfortunately. If "H" and "I" pressed without delay between them it swipes so that probably wouldn't work.

I had already checked how rewasd done it with VSCView. Rewasd did it as multi-tap combo where it pressed "H", "I", and "Enter"(Right, Left and Click) at the same time for as long as I held the button down

OGNEVVASILIJ commented 2 years ago

r57zone вы пробовали для гироскопа модифицированный ViGEmBus ?https://github.com/Davidobot/ViGEmBus У меня не как не получается его собрать.

r57zone commented 2 years ago

@OGNEVVASILIJ, Support for the gyroscope appeared a long time ago, it may not work very well, but I still don’t know how to fully implement it correctly. https://github.com/r57zone/DualShock4-emulator#gyroscope

Ru: Поддержка гироскопа появилась давно, работает может не совсем хорошо, но я пока не знаю как до конца правильно реализовать его. https://github.com/r57zone/DualShock4-emulator/blob/master/README.RU.md#гироскоп

OGNEVVASILIJ commented 2 years ago

Я переназначил на оси xbox пада и пробовал в Astro’s Playroom ps5 PS Remote Play так оси wAccelX, Y, Z прекрасно работают а wGyroX, Y, Z не реагируют.

GenaXUS commented 2 years ago

Кто-нибудь может сделать полноценный гайд как пройти эпизоды с граффити и подниманием машины?

the-maazu commented 2 years ago

passed the initial phase base contantly moving the phone. It seems orientation is centering itself so I have to constantly move the phone to replicate vertical holding of the ds4

I went through the code I see nothing on "orientation", can you confirm if an actual DS4 Controller sends report on orientation. This could be why the motion keeps resetting since orientation is stuck. freePIE does output orientation data.

Accelerometer and gyroscope measure transient effects acceleration and velocity, which resets and stays pretty much the same when the device is at rest.

Orientation on the other hand is a permanent until the device changes orientation of course.