keydown should always work.
It uses the OS API keydown event to set the array slot of the key to true and keyrelease / keyup to set it to false.
the only thing interfering here would be eventhooks and especially the use of flushkeys within a such.
But as a educated guess: you aren't using the arrow keys for control, are you?
because they are restricted to the amount of keys beeing pressed at the same time. up + left/ up + right or the same to down normally does not work and will result in one key beeing ignored. thats a keyboard "issue" due to the way the keyboard is partitioned into areas that use the same line to send their state data
It uses the OS API keydown event to set the array slot of the key to true and keyrelease / keyup to set it to false.
the only thing interfering here would be eventhooks and especially the use of flushkeys within a such.
But as a educated guess: you aren't using the arrow keys for control, are you?
because they are restricted to the amount of keys beeing pressed at the same time. up + left/ up + right or the same to down normally does not work and will result in one key beeing ignored. thats a keyboard "issue" due to the way the keyboard is partitioned into areas that use the same line to send their state data