ELEC2645 (2018/19) / Mbed 2 deprecated el17ajf

Dependencies:   mbed

Fork of el17ajf by Angus Findlay

Committer:
el17ajf
Date:
Thu Apr 04 15:53:06 2019 +0000
Revision:
25:bf47fe41883a
Parent:
22:0a474f074553
Child:
31:69fedaa9b171
Added debouncing with SampledIn class

Who changed what in which revision?

UserRevisionLine numberNew contents of line
el17ajf 18:24ce897024d0 1 #ifndef INPUT_H
el17ajf 18:24ce897024d0 2 #define INPUT_H
el17ajf 18:24ce897024d0 3
el17ajf 13:59e17cab320a 4 namespace Input {
el17ajf 22:0a474f074553 5 enum Button {LEFT, RIGHT, UP, DOWN, START};
el17ajf 13:59e17cab320a 6 bool buttonHit(Button button);
el17ajf 13:59e17cab320a 7 };
el17ajf 18:24ce897024d0 8 #endif