LWJGL
June 18, 2013, 23:02:37 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: [RFE] org.lwjgl.input.Controllers event buffer  (Read 918 times)
momoka
Newbie
*
Posts: 1



« on: April 14, 2012, 19:34:12 »

I can get keyboard event key status by org.lwjgl.input.Keyboard.getEventKeyState(),
http://www.lwjgl.org/wiki/index.php?title=LWJGL_Basics_2_%28Input%29#The_Event_Buffer
but, I cannot get Joypad event button status.

org.lwjgl.input.Controllers.isEventButton() returns current org.lwjgl.input.ControllerEvent's type at Controllers event buffer(org.lwjgl.input.Controllers.events),
but no method to get event button status(pressed or released), event button number, event x axis value, and event y axis value.

I want to access Controllers's current input event.
because JInputController is updated to last status, when input events happen.

+ org.lwjgl.input.Controllers.getEventButton()
+ org.lwjgl.input.Controllers.getEventButtonStatus()
+ org.lwjgl.input.Controllers.getEventXAxisValue()
+ org.lwjgl.input.Controllers.getEventYAxisValue()


Thanks. Smiley
Logged
pparkkin
Newbie
*
Posts: 1


« Reply #1 on: May 12, 2013, 03:32:54 »

Hi.

Did you ever resolve this?

I've been trying to google all over for info on how to support controller events in LWJGL, but haven't found a solution yet.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!