#include <input_state.hpp>
◆ InputState()
| InputState::InputState |
( |
| ) |
|
◆ ~InputState()
| InputState::~InputState |
( |
| ) |
|
|
default |
◆ get_just_pressed_key_strings()
| std::vector< std::string > InputState::get_just_pressed_key_strings |
( |
| ) |
|
◆ get_keys_just_pressed_this_tick()
| std::vector< std::string > InputState::get_keys_just_pressed_this_tick |
( |
| ) |
|
◆ get_mouse_delta()
| std::tuple< double, double > InputState::get_mouse_delta |
( |
| ) |
|
|
inline |
◆ get_string_state()
| std::string InputState::get_string_state |
( |
| ) |
|
◆ glfw_cursor_pos_callback()
| void InputState::glfw_cursor_pos_callback |
( |
double | xpos, |
|
|
double | ypos ) |
◆ glfw_key_callback()
| void InputState::glfw_key_callback |
( |
int | key, |
|
|
int | scancode, |
|
|
int | action, |
|
|
int | mods ) |
◆ glfw_mouse_button_callback()
| void InputState::glfw_mouse_button_callback |
( |
int | button, |
|
|
int | action, |
|
|
int | mods ) |
◆ is_just_pressed()
| bool InputState::is_just_pressed |
( |
EKey | key_enum | ) |
|
◆ is_pressed()
| bool InputState::is_pressed |
( |
EKey | key_enum | ) |
|
◆ is_valid_key_string()
| bool InputState::is_valid_key_string |
( |
const std::string & | key_str | ) |
const |
◆ all_keys
| std::vector<Key> InputState::all_keys |
◆ glfw_code_to_key
| std::unordered_map<int, Key *> InputState::glfw_code_to_key |
◆ glfw_keycodes
| std::set<int> InputState::glfw_keycodes |
◆ key_enum_to_object
| std::unordered_map<EKey, Key *> InputState::key_enum_to_object |
◆ key_str_to_key_enum
| std::unordered_map<std::string, EKey> InputState::key_str_to_key_enum |
◆ mouse_delta_x
| double InputState::mouse_delta_x = 0 |
◆ mouse_delta_y
| double InputState::mouse_delta_y = 0 |
◆ mouse_position_x
| double InputState::mouse_position_x = 0 |
◆ mouse_position_y
| double InputState::mouse_position_y = 0 |
◆ prev_mouse_position_x
| double InputState::prev_mouse_position_x = 0 |
◆ prev_mouse_position_y
| double InputState::prev_mouse_position_y = 0 |
The documentation for this class was generated from the following files: