mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Fixes joystick button handling HAL JNI layer (buttons are in an (#341)
int, not a byte)
This commit is contained in:
committed by
Fred Silberberg
parent
47319960a5
commit
412b80da30
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user