glfw: ziggify gamepad action enumerations

Helps hexops/mach#37

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-10-30 11:13:53 -07:00 committed by Stephen Gutekanst
parent 8a14d56fc3
commit 2154ee5aea
4 changed files with 23 additions and 15 deletions

View file

@ -1,8 +1,6 @@
//! Key and button actions
const c = @import("c.zig").c;
/// Holds all GLFW C action enumerations in their raw form.
/// Key and button actions
pub const Action = enum(c_int) {
/// The key or mouse button was released.
release = c.GLFW_RELEASE,