|
Joypad Scol plugin
|
#include "Joypad.h"Go to the source code of this file.
Functions | |
| int | destroyJoypadObj (mmachine m, SCOL_PTR_TYPE handsys, int handscol) |
| Destroys a joypad Object in scol. | |
| 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 | _OpenJoypad (mmachine m) |
| int | _OpenJoypadEx (mmachine m) |
| 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 | |
| int | getJoypadData (mmachine m, SCOL_PTR_TYPE id, SCOL_PTR_TYPE param) |
| SCOL_EXPORT int | ScolLoadPlugin (mmachine m, cbmachine w) |
| Starting point of the DLL Function to add in Scol usm.ini for loading dll. | |
| SCOL_EXPORT int | ScolUnloadPlugin () |
| Ending point of the DLL Function to add in Scol usm.ini for free dll. | |
| SCOL_EXPORT void | ScolHandleWindowEventPlugin (mmachine m, SCOL_PTR_TYPE event, int wparam, int lparam) |
Variables | |
| cbmachine | ww |
| Scol machine declaration for MM macros. | |
| mmachine | mm |
| int(* | CallMainThread )(void *, mmachine m) |
| int | OBJJOYPADSCOL |
| int | JOYPAD_DATA_CB |
| int | SCOL_JOYPAD_DATA_CB = 0 |
| int _OpenJoypad | ( | mmachine | m | ) |
Definition at line 268 of file scolplugin.cpp.
| int _OpenJoypadEx | ( | mmachine | m | ) |
Definition at line 273 of file scolplugin.cpp.
| int destroyJoypadObj | ( | mmachine | m, |
| SCOL_PTR_TYPE | handsys, | ||
| int | handscol | ||
| ) |
Destroys a joypad Object in scol.
| mmachine | : The VM |
| int | : object system handle |
| int | : object scol handle |
Definition at line 76 of file scolplugin.cpp.
| int getJoypadData | ( | mmachine | m, |
| SCOL_PTR_TYPE | id, | ||
| SCOL_PTR_TYPE | param | ||
| ) |
C function that prepares the VM for the execution of the callback
| m | : |
| h | : |
| msg | : |
| id | : |
| param | : |
| ret | : |
Definition at line 396 of file scolplugin.cpp.
| SCOL_EXPORT void ScolHandleWindowEventPlugin | ( | mmachine | m, |
| SCOL_PTR_TYPE | event, | ||
| int | wparam, | ||
| int | lparam | ||
| ) |
Definition at line 572 of file scolplugin.cpp.
| SCOL_EXPORT int ScolLoadPlugin | ( | mmachine | m, |
| cbmachine | w | ||
| ) |
Starting point of the DLL Function to add in Scol usm.ini for loading dll.
Definition at line 548 of file scolplugin.cpp.
| SCOL_EXPORT int ScolUnloadPlugin | ( | ) |
Ending point of the DLL Function to add in Scol usm.ini for free dll.
Definition at line 563 of file scolplugin.cpp.
|
extern |
| int JOYPAD_DATA_CB |
Definition at line 54 of file scolplugin.cpp.
| mmachine mm |
Definition at line 45 of file scolplugin.cpp.
| int OBJJOYPADSCOL |
Definition at line 52 of file scolplugin.cpp.
| int SCOL_JOYPAD_DATA_CB = 0 |
Definition at line 55 of file scolplugin.cpp.
| cbmachine ww |
Scol machine declaration for MM macros.
Definition at line 44 of file scolplugin.cpp.