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


Ignore:
Timestamp:
03/21/19 14:04:45 (3 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.