diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-03 10:24:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 10:24:54 -0800 |
commit | 843ef8f2ec8b1645e7aa5eec7fcc8a76f0d3b666 (patch) | |
tree | be233f27eb9502b1489db99a1448eb0a9cd33e96 /src/input_common/mouse/mouse_input.h | |
parent | 88089c87546b62536a27738f5ee03dff52fa76e9 (diff) | |
parent | 424bffcd3f46b0ef30e73518b02045a443b5f1a1 (diff) |
Merge pull request #5059 from lioncash/mouse
mouse_input/mouse_poller: Minor cleanup
Diffstat (limited to 'src/input_common/mouse/mouse_input.h')
-rw-r--r-- | src/input_common/mouse/mouse_input.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/input_common/mouse/mouse_input.h b/src/input_common/mouse/mouse_input.h index 761663334..65e64bee7 100644 --- a/src/input_common/mouse/mouse_input.h +++ b/src/input_common/mouse/mouse_input.h @@ -4,15 +4,14 @@ #pragma once -#include <algorithm> -#include <functional> +#include <array> #include <mutex> #include <thread> -#include <unordered_map> + #include "common/common_types.h" #include "common/threadsafe_queue.h" +#include "common/vector_math.h" #include "core/frontend/input.h" -#include "input_common/main.h" #include "input_common/motion_input.h" namespace MouseInput { @@ -50,7 +49,7 @@ public: * Signals that a button is pressed. * @param x the x-coordinate of the cursor * @param y the y-coordinate of the cursor - * @param button the button pressed + * @param button_ the button pressed */ void PressButton(int x, int y, int button_); |