All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gamepad.QGamepad Maven / Gradle / Ivy

package io.qt.gamepad;


/**
 * 

A gamepad device connected to a system

*

Java wrapper for Qt class QGamepad

*/ public class QGamepad extends io.qt.core.QObject { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGamepad.class); /** *

See QGamepad::axisLeftXChanged(double)

*/ @io.qt.QtPropertyNotify(name="axisLeftX") public final Signal1<@io.qt.QtPrimitiveType Double> axisLeftXChanged = new Signal1<>(); /** *

See QGamepad::axisLeftYChanged(double)

*/ @io.qt.QtPropertyNotify(name="axisLeftY") public final Signal1<@io.qt.QtPrimitiveType Double> axisLeftYChanged = new Signal1<>(); /** *

See QGamepad::axisRightXChanged(double)

*/ @io.qt.QtPropertyNotify(name="axisRightX") public final Signal1<@io.qt.QtPrimitiveType Double> axisRightXChanged = new Signal1<>(); /** *

See QGamepad::axisRightYChanged(double)

*/ @io.qt.QtPropertyNotify(name="axisRightY") public final Signal1<@io.qt.QtPrimitiveType Double> axisRightYChanged = new Signal1<>(); /** *

See QGamepad::buttonAChanged(bool)

*/ @io.qt.QtPropertyNotify(name="buttonA") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonAChanged = new Signal1<>(); /** *

See QGamepad::buttonBChanged(bool)

*/ @io.qt.QtPropertyNotify(name="buttonB") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonBChanged = new Signal1<>(); /** *

See QGamepad::buttonCenterChanged(bool)

*/ @io.qt.QtPropertyNotify(name="buttonCenter") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonCenterChanged = new Signal1<>(); /** *

See QGamepad::buttonDownChanged(bool)

*/ @io.qt.QtPropertyNotify(name="buttonDown") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonDownChanged = new Signal1<>(); /** *

See QGamepad::buttonGuideChanged(bool)

*/ @io.qt.QtPropertyNotify(name="buttonGuide") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonGuideChanged = new Signal1<>(); /** *

See QGamepad::buttonL1Changed(bool)

*/ @io.qt.QtPropertyNotify(name="buttonL1") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonL1Changed = new Signal1<>(); /** *

See QGamepad::buttonL2Changed(double)

*/ @io.qt.QtPropertyNotify(name="buttonL2") public final Signal1<@io.qt.QtPrimitiveType Double> buttonL2Changed = new Signal1<>(); /** *

See QGamepad::buttonL3Changed(bool)

*/ @io.qt.QtPropertyNotify(name="buttonL3") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonL3Changed = new Signal1<>(); /** *

See QGamepad::buttonLeftChanged(bool)

*/ @io.qt.QtPropertyNotify(name="buttonLeft") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonLeftChanged = new Signal1<>(); /** *

See QGamepad::buttonR1Changed(bool)

*/ @io.qt.QtPropertyNotify(name="buttonR1") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonR1Changed = new Signal1<>(); /** *

See QGamepad::buttonR2Changed(double)

*/ @io.qt.QtPropertyNotify(name="buttonR2") public final Signal1<@io.qt.QtPrimitiveType Double> buttonR2Changed = new Signal1<>(); /** *

See QGamepad::buttonR3Changed(bool)

*/ @io.qt.QtPropertyNotify(name="buttonR3") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonR3Changed = new Signal1<>(); /** *

See QGamepad::buttonRightChanged(bool)

*/ @io.qt.QtPropertyNotify(name="buttonRight") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonRightChanged = new Signal1<>(); /** *

See QGamepad::buttonSelectChanged(bool)

*/ @io.qt.QtPropertyNotify(name="buttonSelect") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonSelectChanged = new Signal1<>(); /** *

See QGamepad::buttonStartChanged(bool)

*/ @io.qt.QtPropertyNotify(name="buttonStart") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonStartChanged = new Signal1<>(); /** *

See QGamepad::buttonUpChanged(bool)

*/ @io.qt.QtPropertyNotify(name="buttonUp") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonUpChanged = new Signal1<>(); /** *

See QGamepad::buttonXChanged(bool)

*/ @io.qt.QtPropertyNotify(name="buttonX") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonXChanged = new Signal1<>(); /** *

See QGamepad::buttonYChanged(bool)

*/ @io.qt.QtPropertyNotify(name="buttonY") public final Signal1<@io.qt.QtPrimitiveType Boolean> buttonYChanged = new Signal1<>(); /** *

See QGamepad::connectedChanged(bool)

*/ @io.qt.QtPropertyNotify(name="connected") public final Signal1<@io.qt.QtPrimitiveType Boolean> connectedChanged = new Signal1<>(); /** *

See QGamepad::deviceIdChanged(int)

*/ @io.qt.QtPropertyNotify(name="deviceId") public final Signal1<@io.qt.QtPrimitiveType Integer> deviceIdChanged = new Signal1<>(); /** *

See QGamepad::nameChanged(QString)

*/ @io.qt.QtPropertyNotify(name="name") public final Signal1 nameChanged = new Signal1<>(); /** *

Overloaded constructor for {@link #QGamepad(int, io.qt.core.QObject)} * with parent = null.

*/ public QGamepad(int deviceId) { this(deviceId, (io.qt.core.QObject)null); } /** *

Overloaded constructor for {@link #QGamepad(int, io.qt.core.QObject)}

*

with:

    *
  • deviceId = 0
  • *
  • parent = null
  • *
*/ public QGamepad() { this((int)0, (io.qt.core.QObject)null); } /** *

See QGamepad::QGamepad(int,QObject*)

*/ public QGamepad(int deviceId, io.qt.core.QObject parent){ super((QPrivateConstructor)null); initialize_native(this, deviceId, parent); } private native static void initialize_native(QGamepad instance, int deviceId, io.qt.core.QObject parent); /** *

See QGamepad::axisLeftX()const

*/ @io.qt.QtPropertyReader(name="axisLeftX") @io.qt.QtUninvokable public final double axisLeftX(){ return axisLeftX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double axisLeftX_native_constfct(long __this__nativeId); /** *

See QGamepad::axisLeftY()const

*/ @io.qt.QtPropertyReader(name="axisLeftY") @io.qt.QtUninvokable public final double axisLeftY(){ return axisLeftY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double axisLeftY_native_constfct(long __this__nativeId); /** *

See QGamepad::axisRightX()const

*/ @io.qt.QtPropertyReader(name="axisRightX") @io.qt.QtUninvokable public final double axisRightX(){ return axisRightX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double axisRightX_native_constfct(long __this__nativeId); /** *

See QGamepad::axisRightY()const

*/ @io.qt.QtPropertyReader(name="axisRightY") @io.qt.QtUninvokable public final double axisRightY(){ return axisRightY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double axisRightY_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonA()const

*/ @io.qt.QtPropertyReader(name="buttonA") @io.qt.QtUninvokable public final boolean buttonA(){ return buttonA_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonA_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonB()const

*/ @io.qt.QtPropertyReader(name="buttonB") @io.qt.QtUninvokable public final boolean buttonB(){ return buttonB_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonB_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonCenter()const

*/ @io.qt.QtPropertyReader(name="buttonCenter") @io.qt.QtUninvokable public final boolean buttonCenter(){ return buttonCenter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonCenter_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonDown()const

*/ @io.qt.QtPropertyReader(name="buttonDown") @io.qt.QtUninvokable public final boolean buttonDown(){ return buttonDown_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonDown_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonGuide()const

*/ @io.qt.QtPropertyReader(name="buttonGuide") @io.qt.QtUninvokable public final boolean buttonGuide(){ return buttonGuide_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonGuide_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonL1()const

*/ @io.qt.QtPropertyReader(name="buttonL1") @io.qt.QtUninvokable public final boolean buttonL1(){ return buttonL1_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonL1_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonL2()const

*/ @io.qt.QtPropertyReader(name="buttonL2") @io.qt.QtUninvokable public final double buttonL2(){ return buttonL2_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double buttonL2_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonL3()const

*/ @io.qt.QtPropertyReader(name="buttonL3") @io.qt.QtUninvokable public final boolean buttonL3(){ return buttonL3_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonL3_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonLeft()const

*/ @io.qt.QtPropertyReader(name="buttonLeft") @io.qt.QtUninvokable public final boolean buttonLeft(){ return buttonLeft_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonLeft_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonR1()const

*/ @io.qt.QtPropertyReader(name="buttonR1") @io.qt.QtUninvokable public final boolean buttonR1(){ return buttonR1_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonR1_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonR2()const

*/ @io.qt.QtPropertyReader(name="buttonR2") @io.qt.QtUninvokable public final double buttonR2(){ return buttonR2_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native double buttonR2_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonR3()const

*/ @io.qt.QtPropertyReader(name="buttonR3") @io.qt.QtUninvokable public final boolean buttonR3(){ return buttonR3_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonR3_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonRight()const

*/ @io.qt.QtPropertyReader(name="buttonRight") @io.qt.QtUninvokable public final boolean buttonRight(){ return buttonRight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonRight_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonSelect()const

*/ @io.qt.QtPropertyReader(name="buttonSelect") @io.qt.QtUninvokable public final boolean buttonSelect(){ return buttonSelect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonSelect_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonStart()const

*/ @io.qt.QtPropertyReader(name="buttonStart") @io.qt.QtUninvokable public final boolean buttonStart(){ return buttonStart_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonStart_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonUp()const

*/ @io.qt.QtPropertyReader(name="buttonUp") @io.qt.QtUninvokable public final boolean buttonUp(){ return buttonUp_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonUp_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonX()const

*/ @io.qt.QtPropertyReader(name="buttonX") @io.qt.QtUninvokable public final boolean buttonX(){ return buttonX_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonX_native_constfct(long __this__nativeId); /** *

See QGamepad::buttonY()const

*/ @io.qt.QtPropertyReader(name="buttonY") @io.qt.QtUninvokable public final boolean buttonY(){ return buttonY_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean buttonY_native_constfct(long __this__nativeId); /** *

See QGamepad::deviceId()const

*/ @io.qt.QtPropertyReader(name="deviceId") @io.qt.QtUninvokable public final int deviceId(){ return deviceId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native int deviceId_native_constfct(long __this__nativeId); /** *

See QGamepad::isConnected()const

*/ @io.qt.QtPropertyReader(name="connected") @io.qt.QtUninvokable public final boolean isConnected(){ return isConnected_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean isConnected_native_constfct(long __this__nativeId); /** *

See QGamepad::name()const

*/ @io.qt.QtPropertyReader(name="name") @io.qt.QtUninvokable public final java.lang.String name(){ return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String name_native_constfct(long __this__nativeId); /** *

See QGamepad::setDeviceId(int)

*/ @io.qt.QtPropertyWriter(name="deviceId") public final void setDeviceId(int number){ setDeviceId_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), number); } private native void setDeviceId_native_int(long __this__nativeId, int number); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QGamepad(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. */ @io.qt.NativeAccess protected QGamepad(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @io.qt.QtUninvokable private static native void initialize_native(QGamepad instance, QDeclarativeConstructor constructor); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy