fix logging in JavaGamepads