Files
itgmania212121/stepmania/src/arch/InputHandler/InputHandler.cpp
T

22 lines
394 B
C++
Raw Normal View History

2003-07-13 01:00:55 +00:00
#include "global.h"
#include "InputFilter.h"
#include "InputHandler.h"
2003-07-14 06:25:14 +00:00
void InputHandler::UpdateTimer()
2003-07-13 01:00:55 +00:00
{
m_LastUpdate.Touch();
}
void InputHandler::ButtonPressed( DeviceInput di, bool Down )
{
if( di.ts.IsZero() )
2003-07-20 19:13:35 +00:00
di.ts = m_LastUpdate.Half();
2003-07-13 01:00:55 +00:00
INPUTFILTER->ButtonPressed( di, Down );
}
/*
* Copyright (c) 2003 by the person(s) listed below. All rights reserved.
* Glenn Maynard
*/