Skip to content

Commit 7e3aff0

Browse files
Fixed build
1 parent 0dad821 commit 7e3aff0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

trikControl/src/gamepad.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ Gamepad::~Gamepad()
1919
{
2020
}
2121

22+
void Gamepad::reset()
23+
{
24+
mButtonWasPressed.clear();
25+
mPads.clear();
26+
}
27+
2228
bool Gamepad::buttonWasPressed(int buttonNumber)
2329
{
2430
return mButtonWasPressed.remove(buttonNumber);

0 commit comments

Comments
 (0)