@Ashingda 27
The scancode map you displayed doesn't match the scancodes of my keyboard. For example, my function keys range from 59 to 70.
Quote: "So does anybody have a link to a site that has the DarkBASIC words for standard letters like H and D?"
There are only certain keys that actually have DBC commands specifically for them like Spacekey() or Righkey(). These are all included in the documentation under Input Command Set. They are:
UPKEY() will return a one if the Up Arrow Key is being pressed
DOWNKEY() will return a one if the Down Arrow Key is being pressed
LEFTKEY() will return a one if the Left Arrow Key is being pressed
RIGHTKEY() will return a one if the Right Arrow Key is being pressed
CONTROLKEY() will return a one if the Control Key is being pressed
SHIFTKEY() will return a one if the Shift Key is being pressed
SPACEKEY() will return a one if the Space Key is being pressed
RETURNKEY() will return a one if the Return Key is being pressed
ESCAPEKEY() will return a one if the Escape Key is being pressed
As for the rest of the keyboard, you can find them like the others have been saying, by using SCANCODE() to return the code value of a particular key. Once you know the numeric value of a key, you use KEYSTATE() with that value to determine if the key is pressed or not.
If you have QBasic on your machine (go to command prompt and type qbasic) you can get a list of the keyboard scancodes from the survival guide.
Enjoy your day.