lovebrew / lovepotion

LÖVE for Nintendo Homebrew
https://lovebrew.org
Other
574 stars 45 forks source link

[Code Cleanup]: Split up controller information into different classes #191

Closed TurtleP closed 1 year ago

TurtleP commented 2 years ago

Enhancement Details

The current Joystick class is very cluttered on Wii U and it needs to be split up

Solution

Creating additional classes that derive from the Joystick<Console::ALL> class as Gamepad, Wiimote, and ProController should help

Additional Context

This could also technically be applied to the Switch version, but not really considering the Pad API on there unifies a lot of the work that would otherwise need to be done.