#include <InputManager.h>
Definition at line 13 of file InputManager.h.
◆ get_mouse_position()
| glm::vec2 hellfire::InputManager::get_mouse_position |
( |
| ) |
const |
|
inline |
◆ is_key_just_pressed()
| bool hellfire::InputManager::is_key_just_pressed |
( |
int |
keycode | ) |
const |
|
inline |
◆ is_key_pressed()
| bool hellfire::InputManager::is_key_pressed |
( |
int |
keycode | ) |
const |
|
inline |
◆ is_mouse_button_pressed()
| bool hellfire::InputManager::is_mouse_button_pressed |
( |
int |
button | ) |
const |
|
inline |
◆ on_key_down()
| void hellfire::InputManager::on_key_down |
( |
int |
key | ) |
|
|
inline |
◆ on_key_up()
| void hellfire::InputManager::on_key_up |
( |
int |
key | ) |
|
|
inline |
◆ on_mouse_button()
| void hellfire::InputManager::on_mouse_button |
( |
int |
button, |
|
|
bool |
pressed |
|
) |
| |
|
inline |
◆ on_mouse_move()
| void hellfire::InputManager::on_mouse_move |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
◆ set_cursor_mode()
| void hellfire::InputManager::set_cursor_mode |
( |
const CursorMode |
mode | ) |
|
|
inline |
◆ update()
| void hellfire::InputManager::update |
( |
| ) |
|
|
inline |
◆ keys_
| bool hellfire::InputManager::keys_[512] = {false} |
|
private |
◆ keys_just_pressed_
| bool hellfire::InputManager::keys_just_pressed_[512] = {false} |
|
private |
◆ keys_just_released_
| bool hellfire::InputManager::keys_just_released_[512] = {false} |
|
private |
◆ mouse_buttons_
| bool hellfire::InputManager::mouse_buttons_[8] = {false} |
|
private |
◆ mouse_position_
| glm::vec2 hellfire::InputManager::mouse_position_ {0.0f, 0.0f} |
|
private |
The documentation for this class was generated from the following file: