This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Must manually link to LIBPAD.LIB for compiling | |
| #include <LIBPAD.H> | |
| // Pad terminal type masks. First four bits of padData[1] | |
| #define PADTT_DIG 0x40 // 16 button controller (no analog) | |
| #define PADTT_ANA 0x70 // Analog controller | |
| // All 16 16bit button bit masks. Button state bit is 0 if pressed. | |
| #define PADLeft 0x8000 | |
| #define PADDown 0x4000 |