KeyBoard and Mouse Events / Custom Bindings

nullvoid
Burner Inserter
Burner Inserter
Posts: 16
Joined: Sat May 03, 2014 9:53 pm
Contact:

KeyBoard and Mouse Events / Custom Bindings

Post by nullvoid »

Either add onKeyPress/onKeyDown/onKeyUp events that provide the key that was pressed,
and/or supply similar events, but have it so that key is choosable in in the options.

e.g. registerHotKey("eventNameHere", "DefaultKey", {"up", "down", "pressed"}),
which would then provide the requested events for whatever key the player chooses.

Obviously, it would also be useful for there to be events for mouse clicks.

p.s. I did a quick search for existing topics, didn't find any. apologies if my search-fu is weak.
Post Reply

Return to “Implemented mod requests”