Page 1 of 1

Sega mouse no longer supported?

Posted: Sat May 19, 2018 8:04 pm
by Boyfinn
I've been trying to use

Code: Select all

But it doesnt work anymore?
Has the name for it changedor is it no longer supported?

Re: Sega mouse no longer supported?

Posted: Sun May 20, 2018 1:17 am
by Chilly Willy
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.