Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of el17ajf by
Diff: Input/Input.h
- Revision:
- 22:0a474f074553
- Parent:
- 18:24ce897024d0
- Child:
- 25:bf47fe41883a
--- a/Input/Input.h Wed Apr 03 20:33:27 2019 +0000
+++ b/Input/Input.h Thu Apr 04 07:08:39 2019 +0000
@@ -4,12 +4,11 @@
#include "Gamepad.h"
namespace Input {
- enum Button {LEFT, RIGHT, UP, DOWN};
+ enum Button {LEFT, RIGHT, UP, DOWN, START};
void init();
void deinit();
void update();
bool buttonHit(Button button);
- bool buttonHeld(Button button);
};
#endif
\ No newline at end of file
