Elevate Engine 1
Loading...
Searching...
No Matches
Input.cpp
Go to the documentation of this file.
1#include "Input.h"
2
3#if defined(EE_PLATFORM_WINDOWS)
5#elif defined(EE_PLATFORM_WEB)
7#elif defined(EE_PLATFORM_LINUX)
9#endif
10
11namespace Elevate
12{
13#if defined(EE_PLATFORM_WINDOWS)
14 using PlatformInput = WindowsInput;
15#elif defined(EE_PLATFORM_LINUX)
16 using PlatformInput = LinuxInput;
17#elif defined(EE_PLATFORM_WEB)
18 using PlatformInput = WebInput;
19#else
20 #error "Unknown platform! Cannot create input manager definition on this platform."
21#endif
22
23 Input* Input::s_Instance = new PlatformInput();
24}