Skip to content

Use web ondevicemotion event data provided to cemuhook

License

Notifications You must be signed in to change notification settings

zxhzxhz/WebGyroForCemuhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGyroForCemuhook

Use web ondevicemotion event data provided to cemuhook.

added acceleration data by me.

You can use original version by hjmmc.

Usage

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~

Notice in IOS 12.2

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.

Notice in IOS 13+

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.

Test whit PadTest

Download PadTest_1011.zip form this page

Quote

iOSGyroForCemuhook

pkg

Donate

If you find this project useful, you can buy author a glass of juice 🍹

Alipay & Wechat

About

Use web ondevicemotion event data provided to cemuhook

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 83.8%
  • JavaScript 16.2%