Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joystick isConnected function not working properly #187

Open
luca-schlecker opened this issue Jun 2, 2020 · 1 comment
Open

Joystick isConnected function not working properly #187

luca-schlecker opened this issue Jun 2, 2020 · 1 comment
Labels

Comments

@luca-schlecker
Copy link

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++.

@eXpl0it3r
Copy link
Member

Probably related to #189 and thus SFML/CSFML#136

@eXpl0it3r eXpl0it3r added the Bug label Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants