summaryrefslogtreecommitdiff
path: root/Source/modules/asura-core/Input/InputDevice.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-16 08:54:08 +0800
committerchai <chaifix@163.com>2019-08-16 08:54:08 +0800
commita077eb38b01292611f4f6031b75e3e2c1c20f06e (patch)
tree8f760483d7b0290952bbdb5bcd8f3943102aeb3a /Source/modules/asura-core/Input/InputDevice.h
parent6a065c913e9308cc72e1ad0723b6167048f439b6 (diff)
Diffstat (limited to 'Source/modules/asura-core/Input/InputDevice.h')
-rw-r--r--Source/modules/asura-core/Input/InputDevice.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/modules/asura-core/Input/InputDevice.h b/Source/modules/asura-core/Input/InputDevice.h
index 2b3ff9b..42dfe43 100644
--- a/Source/modules/asura-core/Input/InputDevice.h
+++ b/Source/modules/asura-core/Input/InputDevice.h
@@ -16,6 +16,7 @@
namespace_begin(AsuraEngine)
namespace_begin(Input)
+// Ӳϵͳ
class InputDevice ASURA_FINAL
{
public:
@@ -35,7 +36,7 @@ public:
LRESULT OnInput(HWND window, UINT message, WPARAM wParam, LPARAM lParam);
LRESULT OnDeviceChange(LPCWSTR name, bool add);
- static bool ConvertPositionToClientAreaCoord(HWND activeWindow, POINT position, AEMath::Vector2f& newPos);
+ static bool ConvertPositionToClientAreaCoord(HWND activeWindow, POINT position, Vector2f& newPos);
#elif ASURA_RUNNER
@@ -52,7 +53,7 @@ protected:
bool UpdateState();
- MouseState m_Mouse;
+ MouseState m_Mouse;
KeyboardState m_Keyboard;
JoystickState m_Joysticks;