Changeset 314 in flair-src for trunk/demos/MixedReality/virtual/uav


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/MixedReality/virtual/uav/src/App.cpp

    r293 r314  
    169169void App::ExtraCheckJoystick(void) {
    170170    //R1 and Square
    171     if(GetJoystick()->IsButtonPressed(9) && GetJoystick()->IsButtonPressed(2) && (behaviourMode==BehaviourMode_t::Default)) {
     171    if(GetTargetController()->IsButtonPressed(9) && GetTargetController()->IsButtonPressed(2) && (behaviourMode==BehaviourMode_t::Default)) {
    172172        VrpnPositionHold();
    173173    }
Note: See TracChangeset for help on using the changeset viewer.