Fixes joystick button handling HAL JNI layer (buttons are in an (#341)

int, not a byte)
This commit is contained in:
rrossbach
2016-11-10 23:21:54 -05:00
committed by Fred Silberberg
parent 47319960a5
commit 412b80da30
2 changed files with 3 additions and 3 deletions

View File

@@ -188,9 +188,9 @@ Java_edu_wpi_first_wpilibj_hal_HAL_getJoystickPOVs(JNIEnv* env, jclass,
/*
* Class: edu_wpi_first_wpilibj_hal_HAL
* Method: HAL_GetJoystickButtons
* Signature: (BL)B
* Signature: (BL)I
*/
JNIEXPORT jbyte JNICALL
JNIEXPORT jint JNICALL
Java_edu_wpi_first_wpilibj_hal_HAL_getJoystickButtons(JNIEnv* env, jclass,
jbyte joystickNum,
jobject count) {