1
0
Fork 0

Use new Simgear platform defines in Input code.

This commit is contained in:
James Turner 2010-10-31 12:23:16 +00:00
parent 27782d7c8b
commit 545969054c
2 changed files with 8 additions and 4 deletions

View file

@ -27,10 +27,11 @@
#include <vector>
#include <simgear/structure/SGBinding.hxx>
#include <simgear/compiler.h>
#if defined( UL_WIN32 )
#if defined( SG_WINDOWS )
#define TGT_PLATFORM "windows"
#elif defined ( UL_MAC_OSX )
#elif defined ( SG_MAC )
#define TGT_PLATFORM "mac"
#else
#define TGT_PLATFORM "unix"

View file

@ -27,16 +27,19 @@
#endif
#include "input.hxx"
#include <simgear/compiler.h>
#include "FGMouseInput.hxx"
#include "FGKeyboardInput.hxx"
#include "FGJoystickInput.hxx"
#ifdef WITH_EVENTINPUT
#if defined( UL_WIN32 )
#if defined( SG_WINDOWS )
//to be developed
//#include "FGDirectXEventInput.hxx"
//#define INPUTEVENT_CLASS FGDirectXEventInput
#elif defined ( UL_MAC_OSX )
#elif defined ( SG_MAC )
#include "FGMacOSXEventInput.hxx"
#define INPUTEVENT_CLASS FGMacOSXEventInput
#else