1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-08 15:19:50 +00:00

Proper ~Joystick() dtor. Make haptics optional. Hopefully fixes #50.

This commit is contained in:
fgenesis 2017-06-25 15:56:45 +02:00
parent 1af3b0f220
commit 6f170de929
3 changed files with 18 additions and 2 deletions

View file

@ -22,6 +22,8 @@ public:
static unsigned GetNumJoysticks();
Joystick();
~Joystick();
bool init(int stick=0);
void shutdown();
//Ranges from 0 to 1 (full speed).