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

GLFW macro for '+' Keyboard Input #95

Open
varsh27 opened this issue Oct 28, 2018 · 1 comment
Open

GLFW macro for '+' Keyboard Input #95

varsh27 opened this issue Oct 28, 2018 · 1 comment

Comments

@varsh27
Copy link

varsh27 commented Oct 28, 2018

GLFW_KEY_MINUS is accepted as a macro for the '-' key and it works fine but GLFW_KEY_PLUS does not get accepted as a macro for '+'.

I get the following error:
error: use of undeclared identifier 'GLFW_KEY_PLUS' case GLFW_KEY_PLUS:

Am I overlooking something here? I can't seem to find the macro for the '+' key anywhere.

@danielepanozzo
Copy link
Owner

danielepanozzo commented Oct 28, 2018

'+' is not a key in the US layout (it is only available trough a modifier), that's why it is not listed in the GLFW macros. You can use GLFW_KEY_EQUAL instead.

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