#include <InputHandler.h>
◆ InputStateMap
◆ InputHandler()
InputHandler::InputHandler |
( |
| ) |
|
◆ Advance()
void InputHandler::Advance |
( |
| ) |
|
◆ DownEvent()
◆ FeedKeyboard()
void InputHandler::FeedKeyboard |
( |
int |
key, |
|
|
int |
scancode, |
|
|
int |
action |
|
) |
| |
◆ FeedMouseButtons()
void InputHandler::FeedMouseButtons |
( |
int |
button, |
|
|
int |
action |
|
) |
| |
◆ FeedMouseMotion()
void InputHandler::FeedMouseMotion |
( |
glm::vec2 const & |
position | ) |
|
◆ GetKeycodeState()
std::uint32_t InputHandler::GetKeycodeState |
( |
int |
key | ) |
|
◆ GetMousePosition()
glm::vec2 InputHandler::GetMousePosition |
( |
| ) |
|
◆ GetMousePositionAtStateShift()
glm::vec2 InputHandler::GetMousePositionAtStateShift |
( |
std::uint32_t |
button | ) |
|
◆ GetMouseState()
std::uint32_t InputHandler::GetMouseState |
( |
std::uint32_t |
button | ) |
|
◆ GetScancodeState()
std::uint32_t InputHandler::GetScancodeState |
( |
int |
scancode | ) |
|
◆ GetState()
std::uint32_t InputHandler::GetState |
( |
InputStateMap const & |
map, |
|
|
size_t |
loc |
|
) |
| |
|
private |
◆ IsKeyboardCapturedByUI()
bool InputHandler::IsKeyboardCapturedByUI |
( |
| ) |
const |
◆ IsMouseCapturedByUI()
bool InputHandler::IsMouseCapturedByUI |
( |
| ) |
const |
◆ SetUICapture()
void InputHandler::SetUICapture |
( |
bool |
mouseCapture, |
|
|
bool |
keyboardCapture |
|
) |
| |
◆ UpEvent()
◆ mKeyboardCapturedByUI
bool InputHandler::mKeyboardCapturedByUI { false } |
|
private |
◆ mKeycodeMap
◆ mMouseCapturedByUI
bool InputHandler::mMouseCapturedByUI { false } |
|
private |
◆ mMouseMap
◆ mMousePosition
glm::vec2 InputHandler::mMousePosition { -1.0f } |
|
private |
◆ mMousePositionSwitched
std::array<glm::vec2, GLFW_MOUSE_BUTTON_LAST> InputHandler::mMousePositionSwitched |
|
private |
◆ mScancodeMap
◆ mTick
std::uint64_t InputHandler::mTick { 0ULL } |
|
private |
The documentation for this class was generated from the following files: