LWJGL/lwjgl — pull request #39 by momokan (2013-06-30 04:29:42+00:00)
Title: Add controller's status to event buffer

Hi.

I am LWJGL user on Japan. This library is a great project for me, so I will do what little I can.
Please pull my request.

I enhanced org.lwjgl.input.Controllers's event buffer to store buttons (and axes) status when input event was caused.

org.lwjgl.input.Controller.isButtonPressed(int) returns just current status.
So on low fps, when a button was pressed and released before I call isButtonPressed(),
I can not know a state when that was caused.

Implemented mainly methods are
- org.lwjgl.input.Controller.getEventButtonStatus()
- org.lwjgl.input.Controller.getEventXAxisValue()
- org.lwjgl.input.Controller.getEventYAxisValue()

I can not understand what is POV events,
So I did not change about POV events of buffer.
I don't need POV events for now.

Best regards,
momokan