-
Notifications
You must be signed in to change notification settings - Fork 24
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
[FEAT] Support for K_KP_ENTER: #72
Labels
enhancement
New feature or request
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It happens to me while playing/coding that i press the "wrong" enter key - so i think it would be good to add the 2nd enter key (at least if you have a key pad)
Describe the solution you'd like
I want to change this line:
if event.type == pygame.KEYDOWN and event.key == pygame.K_RETURN:
to
if event.type == pygame.KEYDOWN and (event.key == pygame.K_RETURN or event.key == pygame.K_KP_ENTER):
You could go with a 2nd if statement, but i think we can still understand this line.
Should i create PR for this?
The text was updated successfully, but these errors were encountered: