Changeset 314 in flair-src for trunk/demos/Gps/uav/src
- Timestamp:
- Mar 21, 2019, 2:04:45 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/Gps/uav/src/DemoGps.cpp
r186 r314 163 163 void DemoGps::ExtraCheckJoystick(void) { 164 164 // R1 and Circle 165 if(Get Joystick()->IsButtonPressed(9) && GetJoystick()->IsButtonPressed(4) &&165 if(GetTargetController()->IsButtonPressed(9) && GetTargetController()->IsButtonPressed(4) && 166 166 (behaviourMode != BehaviourMode_t::Circle)) { 167 167 StartCircle(); … … 169 169 170 170 // R1 and Cross 171 if(Get Joystick()->IsButtonPressed(9) && GetJoystick()->IsButtonPressed(5) &&171 if(GetTargetController()->IsButtonPressed(9) && GetTargetController()->IsButtonPressed(5) && 172 172 (behaviourMode == BehaviourMode_t::Circle)) { 173 173 StopCircle();
Note:
See TracChangeset
for help on using the changeset viewer.