keyboard buffer

BlitzMax Forums/BlitzMax Programming/keyboard buffer

The keyboard input inconsistencies are getting on my nerves. As far as I can tell GetChar() returns the Ascii code of the most recently pressed key from the buffer. That's fine and dandy except the buffer only holds codes 0-127. What about the directional keys, number pad, F#, etc?

I could fill the gaps, but I don't want to use KeyHit or KeyDown for 2 reasons.
1)The order the keys are hit matters.

2)An aplication that uses a lot of keys would be very slow if I had to check every key every loop.

3)Half of my input comes in Ascii while keyhit & keydown return keycodes so comparing could get messy

So anyone have a solution or suggestion?