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;

import io.qt.*;


/**
 * 

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.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGamepad.class); /** *

See QGamepad::axisLeftXChanged(double)

*/ @QtPropertyNotify(name="axisLeftX") public final @NonNull Signal1 axisLeftXChanged = new Signal1<>(); /** *

See QGamepad::axisLeftYChanged(double)

*/ @QtPropertyNotify(name="axisLeftY") public final @NonNull Signal1 axisLeftYChanged = new Signal1<>(); /** *

See QGamepad::axisRightXChanged(double)

*/ @QtPropertyNotify(name="axisRightX") public final @NonNull Signal1 axisRightXChanged = new Signal1<>(); /** *

See QGamepad::axisRightYChanged(double)

*/ @QtPropertyNotify(name="axisRightY") public final @NonNull Signal1 axisRightYChanged = new Signal1<>(); /** *

See QGamepad::buttonAChanged(bool)

*/ @QtPropertyNotify(name="buttonA") public final @NonNull Signal1 buttonAChanged = new Signal1<>(); /** *

See QGamepad::buttonBChanged(bool)

*/ @QtPropertyNotify(name="buttonB") public final @NonNull Signal1 buttonBChanged = new Signal1<>(); /** *

See QGamepad::buttonCenterChanged(bool)

*/ @QtPropertyNotify(name="buttonCenter") public final @NonNull Signal1 buttonCenterChanged = new Signal1<>(); /** *

See QGamepad::buttonDownChanged(bool)

*/ @QtPropertyNotify(name="buttonDown") public final @NonNull Signal1 buttonDownChanged = new Signal1<>(); /** *

See QGamepad::buttonGuideChanged(bool)

*/ @QtPropertyNotify(name="buttonGuide") public final @NonNull Signal1 buttonGuideChanged = new Signal1<>(); /** *

See QGamepad::buttonL1Changed(bool)

*/ @QtPropertyNotify(name="buttonL1") public final @NonNull Signal1 buttonL1Changed = new Signal1<>(); /** *

See QGamepad::buttonL2Changed(double)

*/ @QtPropertyNotify(name="buttonL2") public final @NonNull Signal1 buttonL2Changed = new Signal1<>(); /** *

See QGamepad::buttonL3Changed(bool)

*/ @QtPropertyNotify(name="buttonL3") public final @NonNull Signal1 buttonL3Changed = new Signal1<>(); /** *

See QGamepad::buttonLeftChanged(bool)

*/ @QtPropertyNotify(name="buttonLeft") public final @NonNull Signal1 buttonLeftChanged = new Signal1<>(); /** *

See QGamepad::buttonR1Changed(bool)

*/ @QtPropertyNotify(name="buttonR1") public final @NonNull Signal1 buttonR1Changed = new Signal1<>(); /** *

See QGamepad::buttonR2Changed(double)

*/ @QtPropertyNotify(name="buttonR2") public final @NonNull Signal1 buttonR2Changed = new Signal1<>(); /** *

See QGamepad::buttonR3Changed(bool)

*/ @QtPropertyNotify(name="buttonR3") public final @NonNull Signal1 buttonR3Changed = new Signal1<>(); /** *

See QGamepad::buttonRightChanged(bool)

*/ @QtPropertyNotify(name="buttonRight") public final @NonNull Signal1 buttonRightChanged = new Signal1<>(); /** *

See QGamepad::buttonSelectChanged(bool)

*/ @QtPropertyNotify(name="buttonSelect") public final @NonNull Signal1 buttonSelectChanged = new Signal1<>(); /** *

See QGamepad::buttonStartChanged(bool)

*/ @QtPropertyNotify(name="buttonStart") public final @NonNull Signal1 buttonStartChanged = new Signal1<>(); /** *

See QGamepad::buttonUpChanged(bool)

*/ @QtPropertyNotify(name="buttonUp") public final @NonNull Signal1 buttonUpChanged = new Signal1<>(); /** *

See QGamepad::buttonXChanged(bool)

*/ @QtPropertyNotify(name="buttonX") public final @NonNull Signal1 buttonXChanged = new Signal1<>(); /** *

See QGamepad::buttonYChanged(bool)

*/ @QtPropertyNotify(name="buttonY") public final @NonNull Signal1 buttonYChanged = new Signal1<>(); /** *

See QGamepad::connectedChanged(bool)

*/ @QtPropertyNotify(name="connected") public final @NonNull Signal1 connectedChanged = new Signal1<>(); /** *

See QGamepad::deviceIdChanged(int)

*/ @QtPropertyNotify(name="deviceId") public final @NonNull Signal1 deviceIdChanged = new Signal1<>(); /** *

See QGamepad::nameChanged(QString)

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

See QGamepad::QGamepad(int,QObject*)

* @param deviceId * @param parent */ public QGamepad(int deviceId, io.qt.core.@Nullable 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

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

See QGamepad::axisLeftY()const

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

See QGamepad::axisRightX()const

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

See QGamepad::axisRightY()const

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

See QGamepad::buttonA()const

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

See QGamepad::buttonB()const

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

See QGamepad::buttonCenter()const

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

See QGamepad::buttonDown()const

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

See QGamepad::buttonGuide()const

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

See QGamepad::buttonL1()const

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

See QGamepad::buttonL2()const

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

See QGamepad::buttonL3()const

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

See QGamepad::buttonLeft()const

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

See QGamepad::buttonR1()const

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

See QGamepad::buttonR2()const

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

See QGamepad::buttonR3()const

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

See QGamepad::buttonRight()const

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

See QGamepad::buttonSelect()const

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

See QGamepad::buttonStart()const

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

See QGamepad::buttonUp()const

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

See QGamepad::buttonX()const

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

See QGamepad::buttonY()const

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

See QGamepad::deviceId()const

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

See QGamepad::isConnected()const

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

See QGamepad::name()const

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

See QGamepad::setDeviceId(int)

* @param number */ @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. * @hidden */ @NativeAccess protected QGamepad(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QGamepad(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QGamepad instance, QDeclarativeConstructor constructor); /** *

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); } /** * @hidden *

Kotlin property getter. In Java use {@link #axisLeftX()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getAxisLeftX() { return axisLeftX(); } /** * @hidden *

Kotlin property getter. In Java use {@link #axisLeftY()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getAxisLeftY() { return axisLeftY(); } /** * @hidden *

Kotlin property getter. In Java use {@link #axisRightX()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getAxisRightX() { return axisRightX(); } /** * @hidden *

Kotlin property getter. In Java use {@link #axisRightY()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getAxisRightY() { return axisRightY(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonA()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonA() { return buttonA(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonB()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonB() { return buttonB(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonCenter()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonCenter() { return buttonCenter(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonDown()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonDown() { return buttonDown(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonGuide()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonGuide() { return buttonGuide(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonL1()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonL1() { return buttonL1(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonL2()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getButtonL2() { return buttonL2(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonL3()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonL3() { return buttonL3(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonLeft()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonLeft() { return buttonLeft(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonR1()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonR1() { return buttonR1(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonR2()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final double getButtonR2() { return buttonR2(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonR3()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonR3() { return buttonR3(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonRight()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonRight() { return buttonRight(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonSelect()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonSelect() { return buttonSelect(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonStart()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonStart() { return buttonStart(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonUp()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonUp() { return buttonUp(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonX()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonX() { return buttonX(); } /** * @hidden *

Kotlin property getter. In Java use {@link #buttonY()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getButtonY() { return buttonY(); } /** * @hidden *

Kotlin property getter. In Java use {@link #deviceId()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getDeviceId() { return deviceId(); } /** * @hidden *

Kotlin property getter. In Java use {@link #isConnected()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final boolean getConnected() { return isConnected(); } /** * @hidden *

Kotlin property getter. In Java use {@link #name()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final java.lang.@NonNull String getName() { return name(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy