Changeset 314 in flair-src for trunk/demos/Skeletons/CustomTorques/src


Ignore:
Timestamp:
Mar 21, 2019, 2:04:45 PM (6 years ago)
Author:
Sanahuja Guillaume
Message:

maj joystick

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/Skeletons/CustomTorques/src/MyApp.cpp

    r122 r314  
    7070void MyApp::ExtraCheckJoystick(void) {
    7171    //R1
    72     if(GetJoystick()->IsButtonPressed(9) && (behaviourMode!=BehaviourMode_t::CustomTorques)) {
     72    if(GetTargetController()->IsButtonPressed(9) && (behaviourMode!=BehaviourMode_t::CustomTorques)) {
    7373        StartCustomTorques();
    7474    }
Note: See TracChangeset for help on using the changeset viewer.