Joystick isConnected function not working properly
luca-schlecker opened this issue · comments
The Joystick isConnected
function will only return false
after attaching a controller if the program was started without a controller attached.
I think this functionality is lost during the DllImport
. I've created a small C library which exports sf::Joystick::isConnected
in combination with sf::Joystick::update
. After I've used DllImport
to import that library into C#, the functionality was also lost.
It works while writing the same program in C++.
Probably related to #189 and thus SFML/CSFML#136