Use new Simgear platform defines in Input code.
This commit is contained in:
parent
27782d7c8b
commit
545969054c
2 changed files with 8 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue