#include "windows.h"
#include "stdlib.h"
#include "stdio.h"
#include "dinput.h"
Ir al código fuente de este archivo.
Definiciones | |
#define | DLL_EXPORT extern "C" __declspec(dllexport) |
#define | DLL_IMPORT extern "C" __declspec(dllimport) |
#define | STD __stdcall |
#define | BUFFERSIZE 16 |
#define | BUTTONDOWN(b) (b & 0x80) |
#define | JOYMAX 10 |
#define | JOYMIN -10 |
#define | JOYDEAD 3000 |
#define | JOYSAT 2000 |
#define | BOTON_ELEGIDO 57 |
Funciones | |
DLL_EXPORT int STD | IniciarDInput (long Tipo_Dispositivo) |
int STD | Reasignacion (LPCDIDEVICEINSTANCE pdinst, LPVOID pvRef) |
LPDIRECTINPUTDEVICE2 | CreateDevice2 (LPDIRECTINPUT lpdi, GUID *pguid) |
BOOL | IniJoystick (void) |
BOOL | SetAcquireState (BOOL acq) |
DLL_EXPORT Respuesta STD | DirectInputPollDevice (void) |
DLL_EXPORT Respuesta STD | NonDirectInputPollDevice (void) |
DLL_EXPORT void STD | CerrarDInput (void) |
Variables | |
LPDIRECTINPUT | lpid |
LPDIRECTINPUTDEVICE2 | g_lpdid2 |
|
|
|
|
|
Definición en la línea 10 del archivo joy.h. Referenciado por DirectInputPollDevice(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definición en la línea 153 del archivo joy.cpp. Referenciado por IniciarDInput(), and Reasignacion(). |
|
|
|
|
|
|
|
|
|
|
|
Definición en la línea 243 del archivo joy.cpp. Referenciado por CerrarDInput(), DirectInputPollDevice(), and IniciarDInput(). |
|
|
|
|