3#include "input/controller/Controller.hpp"
13 enum class Key : uint {
14 Space = 0, Apostrophe, Comma, Minus, Period, Slash,
15 N0, N1, N2, N3, N4, N5, N6, N7, N8, N9, Semicolon, Equal,
16 A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S,
17 T, U, V, W, X, Y, Z, LeftBracket, Backslash, RightBracket,
18 GraveAccent, World1, World2, Escape, Enter, Tab, Backspace,
19 Insert, Delete, Right, Left, Down, Up, PageUp, PageDown,
20 Home, End, CapsLock, ScrollLock, NumLock, PrintScreen, Pause,
21 F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14,
22 F15, F16, F17, F18, F19, F20, F21, F22, F23, F24, F25,
23 Pad0, Pad1, Pad2, Pad3, Pad4, Pad5, Pad6, Pad7, Pad8, Pad9,
24 PadDecimal, PadDivide, PadMultiply, PadSubtract, PadAdd,
25 PadEnter, PadEqual, LeftShift, LeftControl, LeftAlt, LeftSuper,
26 RightShift, RightControl, RightAlt, RightSuper, Menu, Count
173 bool triggered(
const Key & keyboardKey,
bool absorb =
false);
181 bool released(
const Key & keyboardKey,
bool absorb =
false);
204 bool released(
const Mouse & mouseButton,
bool absorb =
false);
210 glm::vec2
mouse()
const;
218 glm::vec2
moved(
const Mouse & mouseButton)
const;
Represents a joystick or any additional controller.
Definition: Controller.hpp:9