diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-07-24 22:39:16 +0200 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-07-24 22:39:16 +0200 |
| commit | f071adf8f590bb2d2ceee7d93bea120c9d754788 (patch) | |
| tree | e5cd62882fed370bc2d0f75ca6f10fe4b65d5940 /Source/Pad.h | |
| parent | 41d8caba3b3e7611d657c0ee4cecd1cdbdf0c814 (diff) | |
| download | opensend-f071adf8f590bb2d2ceee7d93bea120c9d754788.tar.gz | |
* Some improvements made to improve peformance and stability.
- Removed Pad module (useless).
* Some functions removed from System and Gfx.
Diffstat (limited to 'Source/Pad.h')
| -rw-r--r-- | Source/Pad.h | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/Source/Pad.h b/Source/Pad.h deleted file mode 100644 index 5b5fa1d..0000000 --- a/Source/Pad.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef __PAD_HEADER__ -#define __PAD_HEADER__ - -/* ************************************* - * Includes - * *************************************/ - -#include "Global_Inc.h" -#include "System.h" -#include "GameStructures.h" - -/* ************************************* - * Defines - * *************************************/ - -#define PAD_ALWAYS_REPEAT 1 - -/* ************************************* - * Global prototypes - * *************************************/ - -void PadInit(void); -void PadClearData(void); - -bool PadOneConnected(void); - -bool PadOneAnyKeyPressed(void); -bool PadTwoAnyKeyPressed(void); - -bool PadOneKeyPressed(unsigned short key); -bool PadTwoKeyPressed(unsigned short key); - -bool PadOneKeyRepeat(unsigned short key, uint8_t time); -bool PadTwoKeyRepeat(unsigned short key, uint8_t time); - -bool PadOneKeyReleased(unsigned short key); -bool PadTwoKeyReleased(unsigned short key); - -bool PadOneKeySinglePress(unsigned short key); -bool PadTwoKeySinglePress(unsigned short key); - -unsigned short PadOneGetLastKeySinglePressed(void); -unsigned short PadTwoGetLastKeySinglePressed(void); - -bool PadOneDirectionKeyPressed(void); -bool PadTwoDirectionKeyPressed(void); - -bool PadOneDirectionKeyReleased(void); -bool PadTwoDirectionKeyReleased(void); - -bool UpdatePads(void); -bool PadOneIsVibrationEnabled(void); -bool PadTwoIsVibrationEnabled(void); - -bool PadAddCheat(TYPE_CHEAT * cheat); - -unsigned short* PadGetPlayerOneCheatArray(void); - -// Experimental (to be removed) -unsigned short* PadOneGetAddress(void); - -#endif //__PAD_HEADER__ |
