| 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 | 
Function Documentation
◆ _OpenJoypad()
| int _OpenJoypad | ( | mmachine | m | ) | 
Definition at line 268 of file scolplugin.cpp.
◆ _OpenJoypadEx()
| int _OpenJoypadEx | ( | mmachine | m | ) | 
Definition at line 273 of file scolplugin.cpp.
◆ destroyJoypadObj()
| int destroyJoypadObj | ( | mmachine | m, | 
| SCOL_PTR_TYPE | handsys, | ||
| int | handscol | ||
| ) | 
Destroys a joypad Object in scol.
- Parameters
- 
  mmachine : The VM int : object system handle int : object scol handle 
Definition at line 76 of file scolplugin.cpp.
◆ getJoypadData()
| int getJoypadData | ( | mmachine | m, | 
| SCOL_PTR_TYPE | id, | ||
| SCOL_PTR_TYPE | param | ||
| ) | 
C function that prepares the VM for the execution of the callback
- Parameters
- 
  m : h : msg : id : param : ret : 
Definition at line 396 of file scolplugin.cpp.
◆ ScolHandleWindowEventPlugin()
| SCOL_EXPORT void ScolHandleWindowEventPlugin | ( | mmachine | m, | 
| SCOL_PTR_TYPE | event, | ||
| int | wparam, | ||
| int | lparam | ||
| ) | 
Definition at line 572 of file scolplugin.cpp.
◆ ScolLoadPlugin()
| 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.
◆ ScolUnloadPlugin()
| 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.
Variable Documentation
◆ CallMainThread
| 
 | extern | 
◆ JOYPAD_DATA_CB
| int JOYPAD_DATA_CB | 
Definition at line 54 of file scolplugin.cpp.
◆ mm
| mmachine mm | 
Definition at line 45 of file scolplugin.cpp.
◆ OBJJOYPADSCOL
| int OBJJOYPADSCOL | 
Definition at line 52 of file scolplugin.cpp.
◆ SCOL_JOYPAD_DATA_CB
| int SCOL_JOYPAD_DATA_CB = 0 | 
Definition at line 55 of file scolplugin.cpp.
◆ ww
| cbmachine ww | 
Scol machine declaration for MM macros.
Definition at line 44 of file scolplugin.cpp.
Generated by