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

Adding an ImGuiKey 'ImGuiKey_EnterSecondary' to support platforms tha… #2677

Closed
wants to merge 1 commit into from
Closed

Conversation

amc522
Copy link
Contributor

@amc522 amc522 commented Jul 19, 2019

Adding an ImGuiKey 'ImGuiKey_EnterSecondary' to support platforms that differentiate the enter (return key) and the numpad enter key. This lets users on certain platforms use the numpad enter key to finish editing input text fields. Useful when the input field is for numeric values.

…t differentiate the enter (return key) and the numpad enter key.
@ocornut
Copy link
Owner

ocornut commented Jul 22, 2019

Hello @amc522
This has been merged. I have renamed the key to ImGuiKey_KeyPadEnter to prepare for other keys.
I'm merging this today because it is a no-brainer and it's been requested many times, but ultimately the aim is to just do the full set included by #2625, which may happen very soon hopefully.
Thank you!

@ocornut ocornut closed this Jul 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants