| Fling Engine 0.00.1 Fling Engine is a game engine written in Vulkan

LinuxInput.h
Go to the documentation of this file.
1 #pragma once
2
3 #include "Input/Input.h"
4
5 #if FLING_LINUX
6
7 #include "LinuxKeycodes.h"
8
9 namespace Fling
10 {
11 class LinuxInput : public Input
12 {
13 protected:
14
15 virtual void InitImpl() override;
16 virtual void PreUpdateImpl() override;
17 virtual void ShutdownImpl() override;
18
19 virtual void InitKeyMap() override;
20
21 virtual void PollImpl() override;
22
23 virtual bool IsKeyDownImpl(const std::string& t_KeyName) override;
24 virtual bool IsKeyHelpImpl(const std::string& t_KeyName) override;
25 virtual bool IsMouseButtonPressedImpl(const std::string& t_KeyName) override;
26 virtual bool IsMouseDownImpl(const std::string& t_KeyName) override;
27
33 virtual MousePos GetMousePosImpl() override;
34 };
35 } // namespace Fling
36
37 #endif // FLING_LINUX
Input.h
LinuxKeycodes.h
Fling
Definition: Engine.h:29