|
FreeStick
0.3
Cross Platform Open Sorce Joystick Lib
|
#include "USB/platform/Android/jni/src/FSJNI_Wrapper.h"#include <android/input.h>#include <algorithm>#include <jni.h>
Functions | |
| JNIEXPORT void JNICALL | Java_org_freestick_FreestickDeviceManager_updateJoystickConnectedStatus (JNIEnv *env, jobject thisObj) |
| JNIEXPORT bool JNICALL | Java_org_freestick_FreestickDeviceManager_gamepadDeviceUpdate (JNIEnv *env, jobject thisObj, jint deviceid, jint code, jint type, jfloat value, jint min, jint max) |
| JNIEXPORT void JNICALL | Java_org_freestick_FreestickDeviceManager_gamepadWasAdded (JNIEnv *env, jobject thisObj, jint HID_ID) |
| JNIEXPORT void JNICALL | Java_org_freestick_FreestickDeviceManager_gamepadWasRemoved (JNIEnv *env, jobject thisObj, jint HID_ID) |
Variables | |
| const int | InputDevice_SOURCE_GAMEPAD = 0x00000401 |
| const int | InputDevice_SOURCE_JOYSTICK = 0x01000010 |
| const int | InputDevice_SOURCE_DPAD = 0x00000201 |
| JNIEXPORT bool JNICALL Java_org_freestick_FreestickDeviceManager_gamepadDeviceUpdate | ( | JNIEnv * | env, |
| jobject | thisObj, | ||
| jint | deviceid, | ||
| jint | code, | ||
| jint | type, | ||
| jfloat | value, | ||
| jint | min, | ||
| jint | max | ||
| ) |
| JNIEXPORT void JNICALL Java_org_freestick_FreestickDeviceManager_gamepadWasAdded | ( | JNIEnv * | env, |
| jobject | thisObj, | ||
| jint | HID_ID | ||
| ) |
| JNIEXPORT void JNICALL Java_org_freestick_FreestickDeviceManager_gamepadWasRemoved | ( | JNIEnv * | env, |
| jobject | thisObj, | ||
| jint | HID_ID | ||
| ) |
| JNIEXPORT void JNICALL Java_org_freestick_FreestickDeviceManager_updateJoystickConnectedStatus | ( | JNIEnv * | env, |
| jobject | thisObj | ||
| ) |
| const int InputDevice_SOURCE_DPAD = 0x00000201 |
| const int InputDevice_SOURCE_GAMEPAD = 0x00000401 |
| const int InputDevice_SOURCE_JOYSTICK = 0x01000010 |
1.8.15