Joypad Scol plugin
|
Functions | |
int | _OpenJoypadSync (mmachine m) |
_OpenJoypad : This function open a joypad and init the data callback | |
int | _OpenJoypadExSync (mmachine m) |
_OpenJoypadEx : This function open a joypad and init the data callback | |
int | _CloseJoypad (mmachine m) |
_CloseJoypad : Destroy joypad object | |
int | _StartJoypadRumble (mmachine m) |
_StartJoypadRumble : Start joypad rumble | |
int | _StopJoypadRumble (mmachine m) |
_StopJoypadRumble : Stop the joypad rumble | |
Scol functions definition
int _CloseJoypad | ( | mmachine | m | ) |
_CloseJoypad : Destroy joypad object
fun [ObjJoypad] I
ObjJoypad | : joypad Object to destroy |
Definition at line 286 of file scolplugin.cpp.
int _OpenJoypadExSync | ( | mmachine | m | ) |
_OpenJoypadEx : This function open a joypad and init the data callback
Prototype: fun [Chn I fun [ObjJoypad u0 [I I] I [I I] I [I I I I] [I I] [I r1]] u1 u0] ObjJoypad
Chn | : channel |
I | : joypad index |
fun | [ObjJoypad u0 [I I] I [I I] I [I I I I] [I I] [I r1]] u1 : Data call back |
- | ObjJoypad : the joypad object |
- | u0 : the user parameter |
- | [I I] : left stick x, y values |
- | I : left axis value |
- | [I I] : right stick x, y values |
- | I : right axis value |
- | [I I I I] : POV direction |
- | [I I] : sliders values |
- | [I r1] : list of button states |
u0 | : callback user parameter |
Definition at line 198 of file scolplugin.cpp.
int _OpenJoypadSync | ( | mmachine | m | ) |
_OpenJoypad : This function open a joypad and init the data callback
Prototype: fun [Chn fun [ObjJoypad u0 [I I] I [I I] I [I I I I] [I I] [I r1]] u1 u0] ObjJoypad
Chn | : channel |
fun | [ObjJoypad u0 [I I] I [I I] I [I I I I] [I I] [I r1]] u1 : Data call back |
- | ObjJoypad : the joypad object |
- | u0 : the user parameter |
- | [I I] : left stick x, y values |
- | I : left axis value |
- | [I I] : right stick x, y values |
- | I : right axis value |
- | [I I I I] : POV direction |
- | [I I] : sliders values |
- | [I r1] : list of button states |
u0 | : callback user parameter |
Definition at line 111 of file scolplugin.cpp.
int _StartJoypadRumble | ( | mmachine | m | ) |
_StartJoypadRumble : Start joypad rumble
fun [ObjJoypad F] I
ObjJoypad | : joypad Object to use |
F | : rumble intensito between 0.0 and 1.0 |
Definition at line 317 of file scolplugin.cpp.
int _StopJoypadRumble | ( | mmachine | m | ) |
_StopJoypadRumble : Stop the joypad rumble
fun [ObjJoypad] I
ObjJoypad | : joypad Object to use |
Definition at line 358 of file scolplugin.cpp.