Post
by Chilly Willy » Sun May 20, 2018 1:17 am
The mouse was rolled into the joystick support a LOOOOONG time ago. Just use JOY_setEventHandler() and you'll get any type of controller plugged into the port. There are functions to determine the type of device you're getting data from so that you can handle the differences, where applicable. You might want to look at the joytest sample program included with the SGDK source to get an idea of how to handle all sorts of controllers.