CodeBase - Scancode and Keystate key value constants

Return to the CodeBase listing

Category: Input / Output

Version: 1.0

0
0

Information

Uploaded: 30th Aug 2003 09:26

Modified: 30th Aug 2003 09:50

Author:  IanM

Summary

A full list of DirectInput key constants to use instead of numbers with SCANCODE() and KEYSTATE()

Full Description

This is a complete translation to DBPro of the DirectInput keyboard constants, so that instead of using code like 'if scancode() = 1' you can use 'if scancode() = DIK_ESCAPE' to make your code far more readable.

Comments

No comments yet.