Use GamepadAxis enum for getGamepadAxisMovement instead of c_int (#187)
* Updated getGamepadAxisMovement to take enum and cast return to f32 * Updated raylib-ext.zig GetGamepadAxisMovement to take enum * modified generate_functions.py to make changes instead
This commit is contained in:
parent
561481f4ae
commit
30ce68004f
3 changed files with 4 additions and 3 deletions
|
|
@ -173,6 +173,7 @@ _fix_enums_data = [
|
|||
("flag", "ConfigFlags", r"IsWindowState"),
|
||||
("flags", "Gesture", r"SetGesturesEnabled"),
|
||||
("button", "GamepadButton", r".*GamepadButton.*"),
|
||||
("axis", "GamepadAxis", r".*GamepadAxis.*"),
|
||||
("button", "MouseButton", r".*MouseButton.*"),
|
||||
("control", "GuiControl", r"Gui.etStyle"),
|
||||
# ("property", "GuiControlProperty", r"Gui.etStyle"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue