File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -197,15 +197,15 @@ proc joystickEventState*(state: cint): cint {.
197
197
# # The `state` can be one of `SDL_QUERY`, `SDL_ENABLE` or `SDL_IGNORE`.
198
198
199
199
proc joystickGetAxis * (joystick: JoystickPtr , axis: cint ): int16 {.
200
- importc : " SDL_JoystickGetAxis" .}SDL_
201
- # # Get the current state of an aSDL_xis control on a joystick.
202
- # #SDL_
203
- # #SDL_ The state is a value ranging SDL_from `-32768` to `32767`.
204
- # #SDL_
205
- # #SDL_ The axis indices start at indSDL_ex `0`.
206
- SDL_
207
- SDL_proc getAxis* (joystick: JoystickPtSDL_r , axis: cint ): int16 {.inline .} =
208
- # # Get the current state of an aSDL_xis control on a joystick.
200
+ importc : " SDL_JoystickGetAxis" .}
201
+ # # Get the current state of an axis control on a joystick.
202
+ # #
203
+ # # The state is a value ranging from `-32768` to `32767`.
204
+ # #
205
+ # # The axis indices start at index `0`.
206
+
207
+ proc getAxis * (joystick: JoystickPtr , axis: cint ): int16 {.inline .} =
208
+ # # Get the current state of an axis control on a joystick.
209
209
# #
210
210
# # The state is a value ranging from `-32768` to `32767`.
211
211
# #
You can’t perform that action at this time.
0 commit comments