Warning: This site is under construction, most links will be broken.

LightX API -> lxinputjoypad -> buttons [field]

Last modified on Thu, 19th Apr 2007 at 14:10 UTC by zipplet

lxinputjoypad.buttons: integer;


Bitfield holding information about which buttons are pressed. The LSB is mapped to button #0, and the MSB is mapped to button #31. LightX supports controllers with up to 32 buttons.

The mapping of button ID's to physical buttons is dependant on the descendant class used and the controller. It is impossible to automatically determine the mapping unless the controller is an xbox 360 controller used with the XInput API.

Class: lxinputjoypad