summaryrefslogtreecommitdiff
path: root/src/input_common/input_mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_common/input_mapping.h')
-rw-r--r--src/input_common/input_mapping.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/input_common/input_mapping.h b/src/input_common/input_mapping.h
index 93564b5f8..e0dfbc7ad 100644
--- a/src/input_common/input_mapping.h
+++ b/src/input_common/input_mapping.h
@@ -3,8 +3,14 @@
3// Refer to the license.txt file included 3// Refer to the license.txt file included
4 4
5#pragma once 5#pragma once
6
7#include "common/param_package.h"
6#include "common/threadsafe_queue.h" 8#include "common/threadsafe_queue.h"
7 9
10namespace InputCommon::Polling {
11enum class InputType;
12}
13
8namespace InputCommon { 14namespace InputCommon {
9class InputEngine; 15class InputEngine;
10struct MappingData; 16struct MappingData;
@@ -20,7 +26,7 @@ public:
20 void BeginMapping(Polling::InputType type); 26 void BeginMapping(Polling::InputType type);
21 27
22 /// Returns an input event with mapping information from the input_queue 28 /// Returns an input event with mapping information from the input_queue
23 [[nodiscard]] const Common::ParamPackage GetNextInput(); 29 [[nodiscard]] Common::ParamPackage GetNextInput();
24 30
25 /** 31 /**
26 * Registers mapping input data from the driver 32 * Registers mapping input data from the driver