glfw: add joystick hat states

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-07-16 11:40:32 -07:00
parent 025891f0b9
commit 73055427ad
2 changed files with 18 additions and 1 deletions

View file

@ -3,8 +3,9 @@ const testing = std.testing;
const c = @cImport(@cInclude("GLFW/glfw3.h"));
pub const version = @import("version.zig");
pub const action = @import("action.zig");
pub const hat = @import("hat.zig");
pub const version = @import("version.zig");
pub fn basicTest() void {
if (c.glfwInit() != c.GLFW_TRUE) {