scancode capture

Blitz3D Forums/Blitz3D Beginners Area/scancode capture

DREAM(Posted 2007) [#1]
is there a way, i should say a quick and easy way to capture blitz's scancodes, i know i could build a function that tests to see that if each and every key is pressed return the appropriate scancode, but that is kinda clunky, i was just wondering if there is a way to capture this elusive scancode.

just make my job of setting user defined keys a whole lot easier than checking for each and every key other that the ascii keys.....eg the cursor keys


b32(Posted 2007) [#2]
The only thing I could come up with is this:

That way you'll only scan the keys that you need, instead of all of them (0..255)


Buggy(Posted 2007) [#3]
That's pretty slick.