version 1.2 | | version 1.3 |
---|
| | |
* Header for keyboard functions | | * Header for keyboard functions |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.3 2003/03/09 06:34:09 donut |
| | * change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned |
| | * |
* Revision 1.2 2001/12/07 05:38:31 donut | | * Revision 1.2 2001/12/07 05:38:31 donut |
* Fix mismatched arg types in the win32 code, work around byte being defined by windows headers as well as our own, and allow overriding of make vars. | | * Fix mismatched arg types in the win32 code, work around byte being defined by windows headers as well as our own, and allow overriding of make vars. |
* | | * |
| | |
#define _WIN32_KEY_H | | #define _WIN32_KEY_H |
| | |
//changed key defines to use DIK_* - 2000/01/14 Matt Mueller. -heh, a bunch were wrong. | | //changed key defines to use DIK_* - 2000/01/14 Matt Mueller. -heh, a bunch were wrong. |
#define byte w32_byte | | |
#define WIN32_LEAN_AND_MEAN | | #define WIN32_LEAN_AND_MEAN |
#include <windows.h> | | #include <windows.h> |
#include <dinput.h> // For DIK_* | | #include <dinput.h> // For DIK_* |
#undef byte | | |
| | |
#define ARCH_KEY_0 DIK_0 | | #define ARCH_KEY_0 DIK_0 |
#define ARCH_KEY_1 DIK_1 | | #define ARCH_KEY_1 DIK_1 |