ELEC2645 (2018/19) / Mbed 2 deprecated el17ajf

Dependencies:   mbed

Fork of el17ajf by Angus Findlay

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