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 Thu Mar 2 2023 for GLFW 3.4.0