SFML.Net icon indicating copy to clipboard operation
SFML.Net copied to clipboard

Joystick isConnected function not working properly

Open luca-schlecker opened this issue 5 years ago • 1 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++.

luca-schlecker avatar Jun 02 '20 23:06 luca-schlecker

Probably related to #189 and thus https://github.com/SFML/CSFML/issues/136

eXpl0it3r avatar Jun 15 '23 22:06 eXpl0it3r