See joystick hat input for how these are used.
Macros | |
#define | GLFW_HAT_CENTERED 0 |
#define | GLFW_HAT_UP 1 |
#define | GLFW_HAT_RIGHT 2 |
#define | GLFW_HAT_DOWN 4 |
#define | GLFW_HAT_LEFT 8 |
#define | GLFW_HAT_RIGHT_UP (GLFW_HAT_RIGHT | GLFW_HAT_UP) |
#define | GLFW_HAT_RIGHT_DOWN (GLFW_HAT_RIGHT | GLFW_HAT_DOWN) |
#define | GLFW_HAT_LEFT_UP (GLFW_HAT_LEFT | GLFW_HAT_UP) |
#define | GLFW_HAT_LEFT_DOWN (GLFW_HAT_LEFT | GLFW_HAT_DOWN) |
#define GLFW_HAT_CENTERED 0 |
#define GLFW_HAT_UP 1 |
#define GLFW_HAT_RIGHT 2 |
#define GLFW_HAT_DOWN 4 |
#define GLFW_HAT_LEFT 8 |
#define GLFW_HAT_RIGHT_UP (GLFW_HAT_RIGHT | GLFW_HAT_UP) |
#define GLFW_HAT_RIGHT_DOWN (GLFW_HAT_RIGHT | GLFW_HAT_DOWN) |
#define GLFW_HAT_LEFT_UP (GLFW_HAT_LEFT | GLFW_HAT_UP) |
#define GLFW_HAT_LEFT_DOWN (GLFW_HAT_LEFT | GLFW_HAT_DOWN) |
Last update on Fri Feb 23 2024 for GLFW 3.4.0