#include "Types/Point.hpp"
#include <string>
#include <cstdint>
Go to the source code of this file.
|
enum | ScrollDirection { SCROLL_NONE = -1
, SCROLL_DOWN = 0
, SCROLL_UP = 1
} |
|
enum | Button { BUTTON_NONE = 0
, BUTTON_LEFT = 1
, BUTTON_MIDDLE = 2
, BUTTON_RIGHT = 3
} |
|
enum | Key {
KEY_BACKSPACE = 8
, KEY_TAB = 9
, KEY_NEWLINE = 10
, KEY_SHIFT = 16
,
KEY_CTRL = 17
, KEY_ALT = 18
, KEY_ESC = 27
, KEY_DEL = 127
,
KEY_LEFT = 256
, KEY_UP = 257
, KEY_RIGHT = 258
, KEY_DOWN = 259
,
KEY_F1 = 260
, KEY_F2 = 261
, KEY_F3 = 262
, KEY_F4 = 263
,
KEY_F5 = 264
, KEY_F6 = 265
, KEY_F7 = 266
, KEY_F8 = 267
,
KEY_F9 = 268
, KEY_F10 = 269
, KEY_F11 = 270
, KEY_F12 = 271
} |
|
◆ Button
◆ Key
◆ ScrollDirection
◆ Button
Enumerator |
---|
BUTTON_NONE | |
BUTTON_LEFT | |
BUTTON_MIDDLE | |
BUTTON_RIGHT | |
Definition at line 15 of file Input.hpp.
◆ Key
Enumerator |
---|
KEY_BACKSPACE | |
KEY_TAB | |
KEY_NEWLINE | |
KEY_SHIFT | |
KEY_CTRL | |
KEY_ALT | |
KEY_ESC | |
KEY_DEL | |
KEY_LEFT | |
KEY_UP | |
KEY_RIGHT | |
KEY_DOWN | |
KEY_F1 | |
KEY_F2 | |
KEY_F3 | |
KEY_F4 | |
KEY_F5 | |
KEY_F6 | |
KEY_F7 | |
KEY_F8 | |
KEY_F9 | |
KEY_F10 | |
KEY_F11 | |
KEY_F12 | |
Definition at line 23 of file Input.hpp.
◆ ScrollDirection
Enumerator |
---|
SCROLL_NONE | |
SCROLL_DOWN | |
SCROLL_UP | |
Definition at line 8 of file Input.hpp.
◆ GainFocus()
◆ GetMousePos()
◆ IsKeyDown()
bool IsKeyDown |
( |
std::int32_t |
K | ) |
|
◆ KeyDown()
void KeyDown |
( |
std::int32_t |
K | ) |
|
◆ KeyHold()
void KeyHold |
( |
std::int32_t |
K, |
|
|
std::uint32_t |
Duration |
|
) |
| |
◆ KeyRelease()
void KeyRelease |
( |
std::int32_t |
K | ) |
|
◆ KeyUp()
void KeyUp |
( |
std::int32_t |
K | ) |
|
◆ LoseFocus()
◆ MouseDown()
void MouseDown |
( |
std::int32_t |
B | ) |
|
◆ MouseEnter()
void MouseEnter |
( |
std::int32_t |
X, |
|
|
std::int32_t |
Y |
|
) |
| |
◆ MouseExit()
void MouseExit |
( |
std::int32_t |
X, |
|
|
std::int32_t |
Y |
|
) |
| |
◆ MouseMove() [1/2]
void MouseMove |
( |
const Point & |
P | ) |
|
◆ MouseMove() [2/2]
void MouseMove |
( |
std::int32_t |
X, |
|
|
std::int32_t |
Y |
|
) |
| |
◆ MouseUp()
void MouseUp |
( |
std::int32_t |
B | ) |
|
◆ ScrollDown()
◆ ScrollUp()
◆ SetupInput()
◆ ShiftNeeded()
bool ShiftNeeded |
( |
std::int32_t |
K | ) |
|