version 1.1 | | version 1.2 |
---|
| | |
* Header for keyboard functions | | * Header for keyboard functions |
* | | * |
* $Log$ | | * $Log$ |
| | * 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. |
| | * |
* Revision 1.1 2000/01/17 05:58:38 donut | | * Revision 1.1 2000/01/17 05:58:38 donut |
* switched from multiply reimplemented/reduntant/buggy key.c for each arch to a single main/key.c that calls the much smaller arch-specific parts. Also adds working emulated key repeat support. | | * switched from multiply reimplemented/reduntant/buggy key.c for each arch to a single main/key.c that calls the much smaller arch-specific parts. Also adds working emulated key repeat support. |
* | | * |
| | |
#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 |