|
|
| version 1.4, 2004/02/13 20:31:55 | version 1.6, 2011/03/07 09:54:11 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | /** |
| #include "np2.h" | * @file joymng.cpp |
| #include "joymng.h" | * @brief Joystick manager |
| #include "menu.h" | * |
| * @author $Author$ | |
| * @date $Date$ | |
| */ | |
| #include "compiler.h" | |
| #include "np2.h" | |
| #include "joymng.h" | |
| #include "menu.h" | |
| #if !defined(__GNUC__) | |
| #pragma comment(lib, "winmm.lib") | |
| #endif // !defined(__GNUC__) | |
| enum { | enum { |
| JOY_LEFT_BIT = 0x04, | JOY_LEFT_BIT = 0x04, |
| Line 14 enum { | Line 25 enum { |
| }; | }; |
| static REG8 joyflag = 0xff; | static REG8 joyflag = 0xff; |
| static BYTE joypad1btn[4]; | static UINT8 joypad1btn[4]; |
| void joymng_initialize(void) { | void joymng_initialize(void) { |