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 <vector>
|
||||||
#include <simgear/structure/SGBinding.hxx>
|
#include <simgear/structure/SGBinding.hxx>
|
||||||
|
#include <simgear/compiler.h>
|
||||||
|
|
||||||
#if defined( UL_WIN32 )
|
#if defined( SG_WINDOWS )
|
||||||
#define TGT_PLATFORM "windows"
|
#define TGT_PLATFORM "windows"
|
||||||
#elif defined ( UL_MAC_OSX )
|
#elif defined ( SG_MAC )
|
||||||
#define TGT_PLATFORM "mac"
|
#define TGT_PLATFORM "mac"
|
||||||
#else
|
#else
|
||||||
#define TGT_PLATFORM "unix"
|
#define TGT_PLATFORM "unix"
|
||||||
|
|
|
@ -27,16 +27,19 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "input.hxx"
|
#include "input.hxx"
|
||||||
|
|
||||||
|
#include <simgear/compiler.h>
|
||||||
|
|
||||||
#include "FGMouseInput.hxx"
|
#include "FGMouseInput.hxx"
|
||||||
#include "FGKeyboardInput.hxx"
|
#include "FGKeyboardInput.hxx"
|
||||||
#include "FGJoystickInput.hxx"
|
#include "FGJoystickInput.hxx"
|
||||||
|
|
||||||
#ifdef WITH_EVENTINPUT
|
#ifdef WITH_EVENTINPUT
|
||||||
#if defined( UL_WIN32 )
|
#if defined( SG_WINDOWS )
|
||||||
//to be developed
|
//to be developed
|
||||||
//#include "FGDirectXEventInput.hxx"
|
//#include "FGDirectXEventInput.hxx"
|
||||||
//#define INPUTEVENT_CLASS FGDirectXEventInput
|
//#define INPUTEVENT_CLASS FGDirectXEventInput
|
||||||
#elif defined ( UL_MAC_OSX )
|
#elif defined ( SG_MAC )
|
||||||
#include "FGMacOSXEventInput.hxx"
|
#include "FGMacOSXEventInput.hxx"
|
||||||
#define INPUTEVENT_CLASS FGMacOSXEventInput
|
#define INPUTEVENT_CLASS FGMacOSXEventInput
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue