Classes | Defines | Typedefs

wiimote.h File Reference

#include <windows.h>
#include <tchar.h>
#include <queue>
#include <list>
#include "wiimote_state.h"

Go to the source code of this file.

Classes

struct  wiimote_state_event
class  wiimote
struct  wiimote::hid
struct  wiimote::hid::queue_entry
struct  wiimote::recording

Defines

#define _WIIMOTE_H
#define WIN32_LEAN_AND_MEAN
#define _ASSERT(x)   ((void)0)
#define REQUEST_STATUS_EVERY_MS   1000
#define DETECT_MPLUS_EVERY_MS   1000
#define DETECT_MPLUS_COUNT   1
#define WORKER_THREAD_PRIORITY   THREAD_PRIORITY_HIGHEST
#define WIIYOURSELF_VERSION_MAJOR   1
#define WIIYOURSELF_VERSION_MINOR1   1
#define WIIYOURSELF_VERSION_MINOR2   5
#define WIIYOURSELF_VERSION_STR   _T("1.15")
#define TOTAL_BUTTON_BITS   16
#define TOTAL_FREQUENCIES   10

Typedefs

typedef unsigned __int64 QWORD
typedef HANDLE EVENT
typedef void(* state_changed_callback )(class wiimote &owner, state_change_flags changed, const wiimote_state &new_state)
typedef BOOLEAN(__stdcall * hidwrite_ptr )(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength)

Define Documentation

#define _ASSERT (   x )    ((void)0)
#define _WIIMOTE_H

Definition at line 16 of file wiimote.h.

#define DETECT_MPLUS_COUNT   1

Definition at line 50 of file wiimote.h.

Referenced by wiimote::Connect().

#define DETECT_MPLUS_EVERY_MS   1000

Definition at line 49 of file wiimote.h.

Referenced by wiimote::Connect().

#define REQUEST_STATUS_EVERY_MS   1000

Definition at line 48 of file wiimote.h.

Referenced by wiimote::Connect().

#define TOTAL_BUTTON_BITS   16
#define TOTAL_FREQUENCIES   10

Definition at line 64 of file wiimote.h.

Referenced by wiimote::GetFreqLookup().

#define WIIYOURSELF_VERSION_MAJOR   1

Definition at line 56 of file wiimote.h.

#define WIIYOURSELF_VERSION_MINOR1   1

Definition at line 57 of file wiimote.h.

#define WIIYOURSELF_VERSION_MINOR2   5

Definition at line 58 of file wiimote.h.

#define WIIYOURSELF_VERSION_STR   _T("1.15")

Definition at line 60 of file wiimote.h.

#define WIN32_LEAN_AND_MEAN

Definition at line 18 of file wiimote.h.

#define WORKER_THREAD_PRIORITY   THREAD_PRIORITY_HIGHEST

Definition at line 53 of file wiimote.h.

Referenced by wiimote::PlaySample(), and wiimote::RumbleForAsync().


Typedef Documentation

typedef HANDLE EVENT

Definition at line 67 of file wiimote.h.

typedef BOOLEAN(__stdcall * hidwrite_ptr)(HANDLE HidDeviceObject, PVOID ReportBuffer, ULONG ReportBufferLength)

Definition at line 80 of file wiimote.h.

typedef unsigned __int64 QWORD

Definition at line 25 of file wiimote.h.

typedef void(* state_changed_callback)(class wiimote &owner, state_change_flags changed, const wiimote_state &new_state)

Definition at line 75 of file wiimote.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines