Handles keyboard input for the application using GLFW.
More...
#include <Input.h>
Handles keyboard input for the application using GLFW.
This class provides static methods to initialize input handling, update input states, and query the state of specific keys.
Usage:
◆ GetMouseDeltaX()
double Input::GetMouseDeltaX |
( |
| ) |
|
|
static |
◆ GetMouseDeltaY()
double Input::GetMouseDeltaY |
( |
| ) |
|
|
static |
◆ GetScrollDeltaY()
double Input::GetScrollDeltaY |
( |
| ) |
|
|
static |
◆ HideCursor()
void Input::HideCursor |
( |
| ) |
|
|
static |
◆ Init()
void Input::Init |
( |
GLFWwindow * |
window | ) |
|
|
static |
◆ IsKeyPressed()
bool Input::IsKeyPressed |
( |
int |
key | ) |
|
|
static |
◆ IsKeyReleased()
bool Input::IsKeyReleased |
( |
int |
key | ) |
|
|
static |
◆ IsMouseButtonPressed()
bool Input::IsMouseButtonPressed |
( |
int |
button | ) |
|
|
static |
◆ ResetMouseDelta()
void Input::ResetMouseDelta |
( |
| ) |
|
|
static |
◆ ShowCursor()
void Input::ShowCursor |
( |
| ) |
|
|
static |
◆ Shutdown()
◆ Update()
◆ s_Window
GLFWwindow * Input::s_Window = nullptr |
|
static |
The documentation for this class was generated from the following files: