NewCreature / Allegro-Legacy

Make Your Allegro 4 Programs Run On Modern Systems Using Allegro 5
19 stars 3 forks source link

Reconfigure joysticks when one connects or disconnects #25

Open connorjclark opened 2 years ago

connorjclark commented 2 years ago

Joysticks need to be reconfigured whenever one connects or disconnects

This is suggested in the docs for al_reconfigure_joysticks, although I'm not called that function but instead re-doing allegro-legacy's josytick data stuctures.

See https://github.com/liballeg/allegro5/pull/1326