glfw: make monitor/joystick events a proper enum
Helps hexops/mach#37 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
bec6f7a85b
commit
f1644d2e59
3 changed files with 29 additions and 16 deletions
|
|
@ -30,10 +30,6 @@ pub const osmesa_context_api = c.GLFW_OSMESA_CONTEXT_API;
|
|||
/// Possible value for various window hints, etc.
|
||||
pub const dont_care = c.GLFW_DONT_CARE;
|
||||
|
||||
// TODO(enumify)
|
||||
pub const connected = c.GLFW_CONNECTED;
|
||||
pub const disconnected = c.GLFW_DISCONNECTED;
|
||||
|
||||
// TODO(enumify)
|
||||
/// Joystick hat buttons init hint.
|
||||
pub const joystick_hat_buttons = c.GLFW_JOYSTICK_HAT_BUTTONS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue