Enter/cancel keyboard events

Things that we aren't going to implement
Post Reply
d3x0r
Filter Inserter
Filter Inserter
Posts: 316
Joined: Sun Jun 04, 2017 8:56 am
Contact:

Enter/cancel keyboard events

Post by d3x0r »

It would be nice if you could capture enter and escape as OK and Cancel events in GUI. They could be sent as mouse events to the control with the focus...
Was specifically considering this about Upgrade Builder and Planner; which now has a drop list, but shows a field to specify a name when you click to save. Or, a new event type that from when any key is pressed; but that is probably overkill. (although if implemented as mouse buttons and then later as a generic key event, there will be conflicts)

propose defines.mouse_button.accept and defines.mouse_button.cancel.

existing mouse_button definitions...

defines.mouse_button_type.none
defines.mouse_button_type.left
defines.mouse_button_type.right
defines.mouse_button_type.middle

Post Reply

Return to “Won't implement”