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
Input/Input.h@25:bf47fe41883a, 2019-04-04 (annotated)
- 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?
| User | Revision | Line number | New 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 |
