summaryrefslogtreecommitdiffhomepage
path: root/vjoy/VJoy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vjoy/VJoy.cpp')
-rwxr-xr-xvjoy/VJoy.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/vjoy/VJoy.cpp b/vjoy/VJoy.cpp
deleted file mode 100755
index 42c2ae9..0000000
--- a/vjoy/VJoy.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-// VJoy.cpp : Defines the entry point for the console application.
-//
-
-#include "stdafx.h"
-#include "windows.h"
-#include "VJoy.h"
-
-JOYSTICK_STATE m_joyState[2] = { 0 };
-
-int main(int argc, char* argv[])
-{
- VJoy_Initialize("", "");
-
- m_joyState[0].XAxis = 32767;
- m_joyState[0].YAxis = 32767;
- m_joyState[0].ZAxis = 32767;
- m_joyState[0].Buttons = 0xAAAAAAAA;
- m_joyState[0].POV = (4 << 12) | (4 << 8) | (4 << 4) | 4;
-
- VJoy_UpdateJoyState(0, &m_joyState[0]);
-
- VJoy_Shutdown();
-
- return 0;
-}