open-manifold / Open-Manifold

A free and open-source clone of Rhythm 'n' Face for PC.
Other
10 stars 1 forks source link

Add Option for "Controller Index" #6

Closed SuperFromND closed 1 year ago

SuperFromND commented 1 year ago

Currently, Open Manifold will only read the first controller it finds on the system, completely ignoring any other controllers that may be present:

// in init_controller()
controller = SDL_GameControllerOpen(0);

This is pretty clearly not ideal, so it'd be nice to have an option to tell Open Manifold which controller it should be reading from.