bsnes-emu / bsnes

bsnes is a Super Nintendo (SNES) emulator focused on performance, features, and ease of use.
Other
1.64k stars 154 forks source link

[Feature Request] "Joystick Mode" for SNES mouse #237

Open LivelyZephyrs opened 2 years ago

LivelyZephyrs commented 2 years ago

A feature request/idea that came to me recently while I was messing around with a Switch Pro Controller and mapping its left joystick to a SNES mouse's inputs for use in Mario Paint. A controller joystick doesn't react the way I expected at all, instead flying around at hyperspeed with even the slightest tilt. Then this idea came to me:

"Joystick Mode." Basically, it would anchor the cursor to the center of the screen, and would move around the screen depending on where you tilted, how much you tilt and what direction, so on. Think like how other emulators visualize a joystick's position in the input configuration window, except in actual games now.

This would also allow for the building of 'virtual joysticks' in ROM hacks, allowing analog movement in games patched to use the SNES mouse built with this in mind. The most interesting applications for this could be SuperFX games such as the Star Fox duology and Stunt Race FX, as well as other games such as Mode 7 racers (Super Mario Kart, F-Zero and etc.)