Hi, thanks for all your work! I have recently started porting to your library (Jamepad impl) from lwjgl3 and things seem to be working with the exception that the app crashes if I remove the controller.
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fff3a727c18, pid=35485, tid=775
#
# JRE version: Java(TM) SE Runtime Environment (11.0.1+13) (build 11.0.1+13-LTS)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (11.0.1+13-LTS, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C [IOKit+0x39c18] IOHIDDeviceGetValue+0xc
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /Users/kenny/workspace/ninjaturdle/hs_err_pid35485.log
Compiled method (nm) 9582 1408 n 0 com.studiohartman.jamepad.ControllerManager::nativeControllerConnectedOrDisconnected (native)
total in heap [0x000000012171ef10,0x000000012171f2b8] = 936
relocation [0x000000012171f088,0x000000012171f0b8] = 48
main code [0x000000012171f0c0,0x000000012171f2b0] = 496
oops [0x000000012171f2b0,0x000000012171f2b8] = 8
Compiled method (c1) 9582 1406 3 de.golfgl.gdx.controllers.jamepad.support.JamepadControllerMonitor::run (25 bytes)
total in heap [0x000000011a426b90,0x000000011a427498] = 2312
relocation [0x000000011a426d08,0x000000011a426d90] = 136
main code [0x000000011a426da0,0x000000011a4271c0] = 1056
stub code [0x000000011a4271c0,0x000000011a427298] = 216
oops [0x000000011a427298,0x000000011a4272a0] = 8
metadata [0x000000011a4272a0,0x000000011a4272d8] = 56
scopes data [0x000000011a4272d8,0x000000011a427350] = 120
scopes pcs [0x000000011a427350,0x000000011a427430] = 224
dependencies [0x000000011a427430,0x000000011a427440] = 16
handler table [0x000000011a427440,0x000000011a427470] = 48
nul chk table [0x000000011a427470,0x000000011a427498] = 40
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
I haven't done much further debugging but was curious if this was something you recognized.