mirror of
https://github.com/echojc/osu-ds.git
synced 2025-06-19 01:15:44 -04:00

Removed the arm7 section Changed the makefile to only use the arm9 stuff Epicpkmn: Fix source/Graphics/GraphicsManager.cpp Co-Authored-By: Pk11 <epicpkmn11@outlook.com> Co-Authored-By: Kaisaan <34224128+Kaisaan@users.noreply.github.com>
30 lines
380 B
C++
30 lines
380 B
C++
#include "InputHelper.h"
|
|
|
|
touchPosition InputHelper::mTouch;
|
|
|
|
bool InputHelper::KeyDown(int key)
|
|
{
|
|
return keysDown() & key;
|
|
}
|
|
|
|
bool InputHelper::KeyHeld(int key)
|
|
{
|
|
return keysHeld() & key;
|
|
}
|
|
|
|
bool InputHelper::KeyUp(int key)
|
|
{
|
|
return keysUp() & key;
|
|
}
|
|
|
|
touchPosition& InputHelper::TouchRead()
|
|
{
|
|
touchRead(&mTouch);
|
|
|
|
mTouch.px *= 2.5;
|
|
mTouch.py *= 2.5;
|
|
|
|
return mTouch;
|
|
}
|
|
|