* Key buffer input system.
This commit is contained in:
jean.chalard
2008-11-21 14:10:20 +00:00
parent e23ccc408d
commit bd5df274e8

View File

@@ -173,7 +173,15 @@ bool JGE::GetButtonClick(u32 button)
return JGEGetButtonClick(button);
}
u32 JGE::ReadButton()
{
return JGEReadKey();
}
void JGE::ResetInput()
{
JGEResetInput();
}
//////////////////////////////////////////////////////////////////////////
#else ///// PSP specified code
@@ -301,6 +309,14 @@ bool JGE::GetButtonClick(u32 button)
return (mCtrlPad.Buttons&button)==button && (mOldButtons&button)!=button;
}
u32 JGE::ReadButton()
{
return 0;
}
void JGE::ResetInput()
{
}
u8 JGE::GetAnalogX()
{