Input handling


As I understand it jME sits on LWJGL (with the intention to have bindings to jogl added too), but how is the input handled?, does jME use LWJGL input api too?. The reason I ask is that there is a discussion going on over at the LWJGL forum about extending LWJGL to include support for more than just keyboard and mouse on non windows platforms, and I was wondering if, if they did this, would jME get the new controllers ‘for free’, or if some work would need doing.



Yes, we use LWJGL for input handling. We pretty much just have a light layer overtop the LWJGL input handling. (Just enough that we can switch out to JInput). So we should be able to handle the controllers they add, but it’s theoretical. :slight_smile: