Skip to content

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

Closed
inflooper wants to merge 1 commit intoocornut:masterfrom
inflooper:master
Closed

Adding an ImGuiKey 'ImGuiKey_EnterSecondary' to support platforms tha…#2677
inflooper wants to merge 1 commit intoocornut:masterfrom
inflooper:master

Conversation

@inflooper
Copy link
Copy Markdown
Contributor

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
Copy Markdown
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