Use a Wii classic controller with Pokitto
Fork of HelloWorld by
main.cpp@5:c4a0391b43ac, 2017-10-12 (annotated)
- Committer:
- Pokitto
- Date:
- Thu Oct 12 10:43:29 2017 +0000
- Revision:
- 5:c4a0391b43ac
- Parent:
- 0:2d2a3994d55d
- Child:
- 8:4f86dcba69b9
Fixed my_settings
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pokitto | 0:2d2a3994d55d | 1 | #include "Pokitto.h" |
Pokitto | 0:2d2a3994d55d | 2 | |
Pokitto | 0:2d2a3994d55d | 3 | Pokitto::Core mygame; |
Pokitto | 0:2d2a3994d55d | 4 | |
Pokitto | 0:2d2a3994d55d | 5 | int main () { |
Pokitto | 0:2d2a3994d55d | 6 | mygame.begin(); |
Pokitto | 0:2d2a3994d55d | 7 | while (mygame.isRunning()) { |
Pokitto | 0:2d2a3994d55d | 8 | if (mygame.update()) { |
Pokitto | 5:c4a0391b43ac | 9 | mygame.display.print("Hello World!"); |
Pokitto | 0:2d2a3994d55d | 10 | } |
Pokitto | 0:2d2a3994d55d | 11 | } |
Pokitto | 0:2d2a3994d55d | 12 | |
Pokitto | 0:2d2a3994d55d | 13 | } |