Joystick.Device (gb.sdl)

Static Property Read Device As Integer

Returns the index of the device that raise the event.

This index is the same used with the Joysticks class.