is the input key system restricted to 2 keys?
if i hold down for example up and down arrow and a press left arrow debugging return down arrow on every left arrow press as long as up and down are hold down?
is this normal and if so is there a work around? i have some key combo that have 2 getkeys combined with 2 getkeydowns…
I think this is the base logic to start.
function Update () {
if (Input.GetKey(KeyCode.W))
{
print ("Do Normal staff");
}
if ((Input.GetKey(KeyCode.W)) (Input.GetKey(KeyCode.S)))
{
print ("Do some cool staff");
}
}
this is a limitation of your keyboard. Its called Keyboard Ghosting.
http://www.microsoft.com/appliedsciences/antighostingexplained.mspx
ah ok , so joystick or some other gamecontroller wouldn’t have this limitation?
I can review Here: http://forum.unity3d.com/threads/182684-Input-GamePad-SetUp-PC?p=1248360#post1248360
Hope helps you as to me too:)
Joysticks shouldn’t have this limitation, but all keyboards aren’t created equal. Some will handle more or less simultaneous keys, and certain key combinations will work more readily than others (ctrl/shift/alt are designed to be held with other buttons)
ah yes it just struck me(a bit late but) ctrl+alt+delete does…
guess I’ll switch to joystick…
btw: where can you see if a keyboard has this limitation or not?