mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2026-01-10 18:59:57 +01:00
Updated for better debugging output.
This commit is contained in:
parent
1376adde46
commit
32c2c63818
|
|
@ -572,11 +572,12 @@ JNIEXPORT void JNICALL Java_net_java_games_input_OSXEnvironmentPlugin_enumDevice
|
|||
|
||||
noMatchingDevices = ((ioReturnValue != kIOReturnSuccess) | (hidObjectIterator == NULL));
|
||||
|
||||
// If search is unsuccessful, print message and hang.
|
||||
// If search is unsuccessful, print message .
|
||||
//
|
||||
if (noMatchingDevices)
|
||||
{
|
||||
printf("No matching HID class devices found.");
|
||||
return;
|
||||
}
|
||||
|
||||
// IOServiceGetMatchingServices consumes a reference to the
|
||||
|
|
@ -679,9 +680,6 @@ JNIEXPORT jlong JNICALL Java_net_java_games_input_OSXEnvironmentPlugin_openDevic
|
|||
(*queue)->create( queue, 0, (int)queueDepth );
|
||||
printf("InputQueue created %lx with depth %d \n", (long) queue, (int)queueDepth );
|
||||
|
||||
// todo - add the buttons/keys we want to receive from the queue
|
||||
|
||||
|
||||
// start the input queue
|
||||
//
|
||||
(*queue)->start( queue );
|
||||
|
|
|
|||
Loading…
Reference in a new issue