drhelius / Gearboy

Game Boy / Gameboy Color emulator and debugger for macOS, Windows, Linux, BSD and RetroArch.
https://x.com/drhelius
GNU General Public License v3.0
849 stars 132 forks source link

[Feature Request] Motion Controls support #169

Open eVenent opened 2 years ago

eVenent commented 2 years ago

Recently SameBoy has released v0.15 build with support for motion controls and its great. Maybe it is possible to do it in Gearboy too? They implemented "the mouse, as well as a joystick, can be used for motion controls. On the Cocoa frontend, a supported controller's motion controls can be used as well." I like it but I would like to request Cemu hook support (Cemu, Dolphin, Citra, etc.) on PC. I think it is easier than adding support for every controller which supports gyro. Cemu hook is already integrated in emulators and uses the motion sensors in controllers like Steam Controller, Dualshock 4, DualSense, Switch Pro Controller, Joy-Cons to play motion sensor games (like Kirby Tilt 'n' Tumble or Command Master). What is good with this implementation is that 3rd party programs (like eg. reWASD which added cemu hook for every controller with gyro) are responsible for sending motion signal in proper way.

Main website: https://cemuhook.sshnuke.net/ UDP Pad motion data provider info: https://cemuhook.sshnuke.net/padudpserver.html

drhelius commented 2 years ago

Thanks for reporting it could be a nice feature although I'll probably implement it using SDL to keep portability