org.lwjgl.test.input.TestControllers crash

Started by wayne, August 06, 2006, 23:14:09

Previous topic - Next topic

kevglass

The new JInput works well for me. I've revert the code to allow the end developer to do whatever filtering they require. I feel this gives the controllers API more flexibility for odd controllers and since the filtering of controllers is now trivial since JInput reports the appropriate type for each controller there doesn't seem much point restricting us.

The controllers will still not return devices of types KEYBOARD and MOUSE though since these might interfere with the standard LWJGL Mouse and Keyboard classes.

Kev

elias

Mouse and Keyboard devices shouldn't interfere with LWJGL operation. Could you elaborate that further? For example, I've recently made LWJGL use DirectInput8 where available, making Jinput and LWJGL input work seamlessly together. With LWJGL using DirectInput3, only one of LWJGL or Jinput would work, typically the last one to be initialized.

- elias