Use web ondevicemotion event data provided to cemuhook.
added acceleration data by me.
You can use original version by hjmmc.
Download releases Gyro.exe
Double click Gyro.exe
Download code and run with Node.js
git clone https://github.com/zxhzxhz/WebGyroForCemuhook.git
cd WebGyroForCemuhook
npm install
npm start
Run Cemu.exe and Checked Options->GamePad mation source->DSU1->By Slot
Use your phone's browser (safair or chrome) open http://your.pc.ip:8080 (example http://192.168.1.100:8080)
Load the game and enjoy it~
If you are using ios 12.2+, please enable 'Settings > Safari > Motion and Orientation access' and use HTTPS to access.
Use xip.lhjmmc.cn https cert to slove latency problem. Since safari's websocket does not support self-signed certificates, when using HTTPS access, socket.io will probably use XHR instead of websocket, which will increase communication latency.
If you are using ios 13+, please use HTTPS for access, make sure the url is https://[you-ip-ip-ip].xip.lhjmmc.cn and the certificate is trusted, and click the allow button to grant page permissions. If permissions is not grant, please restart the browser and try again.
Download PadTest_1011.zip form this page
If you find this project useful, you can buy author a glass of juice 🍹