Skip to content

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