KeyDown() without Graphics()

BlitzMax Forums/BlitzMax Programming/KeyDown() without Graphics()

I need to set up a Keydown() function to work either with a window, or without anything at all. I am not using the Blitz Graphics() command.