summaryrefslogtreecommitdiffstats
path: root/src/joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/joystick.h')
-rw-r--r--src/joystick.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/joystick.h b/src/joystick.h
new file mode 100644
index 0000000..99aff58
--- /dev/null
+++ b/src/joystick.h
@@ -0,0 +1,15 @@
+// joystick.h
+
+#ifndef _JOYSTICK_H_
+#define _JOYSTICK_H_
+
+
+
+extern BOOL InitDirectInput(HINSTANCE hInst, HWND hWnd);
+extern BOOL SetAcquire(BOOL bActive);
+extern BOOL UpdateInputState(DIJOYSTATE &js);
+extern BOOL FreeDirectInput();
+
+
+
+#endif //_JOYSTICK_H_