lets do this properly.
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1144 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
37
BluntDx/DirectInput.cpp
Normal file
37
BluntDx/DirectInput.cpp
Normal file
@@ -0,0 +1,37 @@
|
||||
#pragma comment(lib, "dxguid.lib")
|
||||
#pragma comment(lib, "dinput8.lib")
|
||||
#pragma comment(lib, "user32.lib")
|
||||
#pragma comment(lib, "gdi32.lib")
|
||||
|
||||
#pragma unmanaged
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#define _WIN32_WINNT 0x0500
|
||||
|
||||
#define INITGUID
|
||||
#define DIRECTINPUT_VERSION 0x0800
|
||||
|
||||
#include <windows.h>
|
||||
#include <dinput.h>
|
||||
|
||||
#pragma managed
|
||||
|
||||
#include <vcclr.h>
|
||||
|
||||
#pragma once
|
||||
|
||||
#using "System.Drawing.dll"
|
||||
#using "System.Windows.Forms.dll"
|
||||
|
||||
using namespace System;
|
||||
using namespace System::Windows::Forms;
|
||||
using namespace System::IO;
|
||||
using namespace System::Drawing;
|
||||
|
||||
#include "Utilities.h"
|
||||
|
||||
#include "InputManager.h"
|
||||
#include "KeyboardState.h"
|
||||
#include "MouseState.h"
|
||||
#include "JoystickState.h"
|
||||
#include "InputDevice.h"
|
||||
Reference in New Issue
Block a user