From f071adf8f590bb2d2ceee7d93bea120c9d754788 Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Mon, 24 Jul 2017 22:39:16 +0200 Subject: * Some improvements made to improve peformance and stability. - Removed Pad module (useless). * Some functions removed from System and Gfx. --- Source/Pad.h | 62 ------------------------------------------------------------ 1 file changed, 62 deletions(-) delete mode 100644 Source/Pad.h (limited to 'Source/Pad.h') 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__ -- cgit v1.2.3