Posted February 13, 201411 yr I'm updating my KeyBinding/Handling class using the KeyInputEvent, but the event has no fields for distinguishing which key was pressed or anything else for that matter. Does anyone know if it's planned to implement those features in the future, like they were previously in the KeyHandler class? Because having access to the KeyBinding pressed as well as tickStart or tickEnd was extremely useful... unless I'm missing the obvious again and it's in there somewhere? http://i.imgur.com/NdrFdld.png[/img]
February 13, 201411 yr Here's how I wrote key bindings: https://github.com/TheSlayerMC/RPG/blob/master/net/rpg/handler/KeyHandler.java Kain
February 14, 201411 yr Author That is indeed what I was looking for, thank you. It still seems odd to me that it isn't included by default in the event as a class field, as well as either the buttonstate (which can be gotten from Keyboard as well) or something similar to the tick start / tick end. Guess I'm just spoiled by all the tools handed to us by the Forge team http://i.imgur.com/NdrFdld.png[/img]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.