16#ifndef QGS3DGAMEPADCONTROLLER_H 
   17#define QGS3DGAMEPADCONTROLLER_H 
   55    if ( qobject_cast<QgsGamepad3DMapController *>( sipCpp ) )
 
   57      sipType = sipType_QgsGamepad3DMapController;
 
   67    QgsGamepad3DMapController( 
int gamepadDeviceId, QObject *parent 
SIP_TRANSFERTHIS = 
nullptr );
 
   70    QString deviceId() const override;
 
   79    bool isConnected() const;
 
   89    double axisLeftX() const;
 
   94    double axisLeftY() const;
 
   99    double axisRightX() const;
 
  104    double axisRightY() const;
 
  109    bool buttonA() const;
 
  114    bool buttonB() const;
 
  119    bool buttonX() const;
 
  124    bool buttonY() const;
 
  129    bool buttonL1() const;
 
  134    bool buttonR1() const;
 
  139    double buttonL2() const;
 
  144    double buttonR2() const;
 
  151    bool buttonSelect() const;
 
  158    bool buttonStart() const;
 
  165    bool buttonL3() const;
 
  172    bool buttonR3() const;
 
  177    bool buttonUp() const;
 
  182    bool buttonDown() const;
 
  187    bool buttonLeft() const;
 
  192    bool buttonRight() const;
 
  197    bool buttonCenter() const;
 
  204    bool buttonGuide() const;
 
  213    void connectedChanged( 
bool value );
 
  220    void axisLeftXChanged( 
double value );
 
  227    void axisLeftYChanged( 
double value );
 
  234    void axisRightXChanged( 
double value );
 
  241    void axisRightYChanged( 
double value );
 
  248    void buttonAChanged( 
bool value );
 
  255    void buttonBChanged( 
bool value );
 
  262    void buttonXChanged( 
bool value );
 
  269    void buttonYChanged( 
bool value );
 
  276    void buttonL1Changed( 
bool value );
 
  283    void buttonR1Changed( 
bool value );
 
  290    void buttonL2Changed( 
double value );
 
  297    void buttonR2Changed( 
double value );
 
  304    void buttonSelectChanged( 
bool value );
 
  311    void buttonStartChanged( 
bool value );
 
  318    void buttonL3Changed( 
bool value );
 
  325    void buttonR3Changed( 
bool value );
 
  332    void buttonUpChanged( 
bool value );
 
  339    void buttonDownChanged( 
bool value );
 
  346    void buttonLeftChanged( 
bool value );
 
  353    void buttonRightChanged( 
bool value );
 
  360    void buttonCenterChanged( 
bool value );
 
  367    void buttonGuideChanged( 
bool value );
 
  370    int mGamepadDeviceId = -1;
 
  371    QPointer<QGamepad> mGamepad;
 
Abstract base class for all 3D map controllers.
 
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
 
#define SIP_IF_MODULE(condition)