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

Expose Joystick name and vendor #152

Closed
capz opened this issue Jan 6, 2012 · 3 comments
Closed

Expose Joystick name and vendor #152

capz opened this issue Jan 6, 2012 · 3 comments

Comments

@capz
Copy link

capz commented Jan 6, 2012

When writing some joystick code, i noticed that every device provides it's own set of id's for buttons.
Exposing the vendor and name of the device would allow developers to configure any joystick they desire silently, instead of making the end-user select a configuration for it (or only supporting a single piece of joystick hardware).

@LaurentGomila
Copy link
Member

That could be added, yes.

A sf::Joystick::Info structure providing a joystick's parameters could be written; button count and axes support could be moved there as well.

@ghost ghost assigned LaurentGomila Feb 22, 2012
@NoobsArePeople2
Copy link
Contributor

I've implemented this and posted about it on the forum here.

@Bromeon
Copy link
Member

Bromeon commented Mar 9, 2014

Implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants