Changeset 314 in flair-src for trunk/demos/Skeletons
- Timestamp:
- Mar 21, 2019, 2:04:45 PM (6 years ago)
- Location:
- trunk/demos/Skeletons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/demos/Skeletons/CustomReferenceAngles/src/MyApp.cpp
r167 r314 83 83 void MyApp::ExtraCheckJoystick(void) { 84 84 //R1 85 if(Get Joystick()->IsButtonPressed(9) && (behaviourMode!=BehaviourMode_t::CustomReferenceAngles)) {85 if(GetTargetController()->IsButtonPressed(9) && (behaviourMode!=BehaviourMode_t::CustomReferenceAngles)) { 86 86 StartCustomAngles(); 87 87 } -
trunk/demos/Skeletons/CustomTorques/src/MyApp.cpp
r122 r314 70 70 void MyApp::ExtraCheckJoystick(void) { 71 71 //R1 72 if(Get Joystick()->IsButtonPressed(9) && (behaviourMode!=BehaviourMode_t::CustomTorques)) {72 if(GetTargetController()->IsButtonPressed(9) && (behaviourMode!=BehaviourMode_t::CustomTorques)) { 73 73 StartCustomTorques(); 74 74 }
Note:
See TracChangeset
for help on using the changeset viewer.