summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Protocol_PPJOY/PPJIoctl.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2012-11-23 18:52:25 +0000
committerWim Vriend <facetracknoir@gmail.com>2012-11-23 18:52:25 +0000
commit0273d369b6b8562f052d74b9a7eb4b997a9c6920 (patch)
treed8186d8cc1c2d8c071bc39a70ed243575f40e056 /FTNoIR_Protocol_PPJOY/PPJIoctl.h
parent4eb3dd795deb3fb605524e72f67fbdd8e161f4e1 (diff)
To be discontinued...
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@194 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Protocol_PPJOY/PPJIoctl.h')
-rw-r--r--FTNoIR_Protocol_PPJOY/PPJIoctl.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/FTNoIR_Protocol_PPJOY/PPJIoctl.h b/FTNoIR_Protocol_PPJOY/PPJIoctl.h
deleted file mode 100644
index c406224f..00000000
--- a/FTNoIR_Protocol_PPJOY/PPJIoctl.h
+++ /dev/null
@@ -1,32 +0,0 @@
-#ifndef __PPJIOCTL_H__
-#define __PPJIOCTL_H__
-
-#include "Windows.h"
-
-/* Define to use byte-size values for joystick axes, else dword size */
-#undef UCHAR_AXES
-
-#define PPJOY_AXIS_MIN 1
-#ifdef UCHAR_AXES
-#define PPJOY_AXIS_MAX 127
-#else
-#define PPJOY_AXIS_MAX 32767
-#endif
-
-#define FILE_DEVICE_PPORTJOY FILE_DEVICE_UNKNOWN
-
-#define PPORTJOY_IOCTL(_index_) \
- CTL_CODE (FILE_DEVICE_PPORTJOY, _index_, METHOD_BUFFERED, FILE_ANY_ACCESS)
-
-#define IOCTL_PPORTJOY_SET_STATE PPORTJOY_IOCTL (0x0)
-
-#define JOYSTICK_STATE_V1 0x53544143
-
-typedef struct
-{
- unsigned long Version;
- unsigned char Data[1];
-} JOYSTICK_SET_STATE, *PJOYSTICK_SET_STATE;
-
-
-#endif