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

Constants Button::KbBackslash and Button::KbSlash are identiacal #426

Closed
mblumtritt opened this issue Jan 15, 2018 · 3 comments
Closed

Constants Button::KbBackslash and Button::KbSlash are identiacal #426

mblumtritt opened this issue Jan 15, 2018 · 3 comments

Comments

@mblumtritt
Copy link

Using MacOS (High Sierra) I found that

refute_same(Gosu::Button::KbBackslash, Gosu::Button::KbSlash)

failed with Gosu v0.13.1.

Both have the value 49. Furthermore key code 56 is not defined by any constant in Gosu::Button.

@mblumtritt
Copy link
Author

See also https://github.com/gosu/gosu/blob/master/Gosu/Buttons.hpp#L64 and https://github.com/gosu/gosu/blob/master/Gosu/Buttons.hpp#L69

@jlnr
Copy link
Member

jlnr commented Jan 15, 2018

Thanks! That'll make a good hotfix to go along with #424 as a point release. I'll look into it ASAP.

@jlnr jlnr closed this as completed in ffec7b4 Jan 16, 2018
@mblumtritt
Copy link
Author

Thanks a lot! 🚀

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

No branches or pull requests

2 participants