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

maj joystick

File:
1 edited

Legend:

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

    r167 r314  
    8383void MyApp::ExtraCheckJoystick(void) {
    8484    //R1
    85     if(GetJoystick()->IsButtonPressed(9) && (behaviourMode!=BehaviourMode_t::CustomReferenceAngles)) {
     85    if(GetTargetController()->IsButtonPressed(9) && (behaviourMode!=BehaviourMode_t::CustomReferenceAngles)) {
    8686        StartCustomAngles();
    8787    }
Note: See TracChangeset for help on using the changeset viewer.