Skip to content
Tangent 128 edited this page Mar 28, 2015 · 3 revisions

SDL.joystickOpen

Open a joystick by index.

Function

SYNOPSIS

joy, err = function SDL.joystickOpen(index)

ARGUMENTS

  • index, the joystick index

RETURNS

  • joy, the joystick object or nil on failure (see Joystick)
  • err, the error message
Clone this wiki locally