Nui Engine
A game engine framework
Loading...
Searching...
No Matches
Input.h
1#pragma once
2#include "Core/Common/CommonHeaders.h"
3#include "InputDevice.h"
4
5namespace Nui
6{
7 namespace Input
8 {
9 namespace Internal
10 {
11 [[nodiscard]]
12 bool ProcessInputWndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
13 void Update();
14 }
15
16 [[nodiscard]] const Mouse::Point& GetMousePosition();
17 [[nodiscard]] const Mouse::Point& GetMouseRawDelta();
18 [[nodiscard]] const Mouse::WheelInfo& GetMouseWheelH();
19 [[nodiscard]] const Mouse::WheelInfo& GetMouseWheelV();
20 [[nodiscard]] const Mouse::ButtonState& GetMouseButton(Mouse::Button btn);
21 [[nodiscard]] const Mouse::ButtonState& GetMouseButton(U32 btn);
22
23 [[nodiscard]] const Keyboard::KeyState& GetKeyState(KeyCode key);
24 }
25}