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
Diff: RosenEngine/RosenEngine.cpp
- Revision:
- 5:bb6edc5b5be3
- Parent:
- 4:740e14ebbc97
- Child:
- 7:ed5870cfb3e0
--- a/RosenEngine/RosenEngine.cpp Mon Mar 04 14:05:00 2019 +0000 +++ b/RosenEngine/RosenEngine.cpp Tue Mar 05 07:08:57 2019 +0000 @@ -24,10 +24,10 @@ } -void PongEngine::read_input(Gamepad &pad) +void RosenEngine::read_input(Gamepad &pad) { Vector2D mapped_coord = pad.get_coord(); - float x_joystick = mapped_coord.x; - float y_joystick = mapped_coord.y; + float _xjoystick = mapped_coord.x; + float _yjoystick = mapped_coord.y; }