OSL_CONTROLLER Struct Reference

#include <keys.h>

Data Fields

OSL_KEYLIST held
 Keys currently down (held)
 
OSL_KEYLIST pressed
 Keys pressed (only reported once when the user pressed it)
 
OSL_KEYLIST released
 Keys released (only reported once when the user releases it)
 
OSL_KEYLIST lastHeld
 Allows you to trick with the held member without messing up the auto-repeat feature.
 
short autoRepeatInit
 Time for the initialization of the autorepeat feature.
 
short autoRepeatInterval
 Interval before the autorepeat feature is switched on (the time the user must let the key down)
 
int autoRepeatMask
 Keys affected by the autorepeat feature.
 
short autoRepeatCounter
 Counter (internal)
 
signed char analogToDPadSensivity
 Minimum sensivity for the analog to d-pad function in each direct, 0 means disable analog to d-pad. 127 is the maximum: the stick has to be completely pressed to be detected. A typical value is 80.
 
signed char analogX
 Horizontal position of the analog stick (-128: left, +127: right)
 
signed char analogY
 Vertical position of the analog stick (-128: top, +127: bottom)
 

Detailed Description

Controller type.


The documentation for this struct was generated from the following file: