2
0

sdlisgamecontroller.bmx 198 B

12345678910
  1. SuperStrict
  2. Framework SDL.SDLGameController
  3. Import brl.standardio
  4. For Local i:Int = 0 Until JoyCount()
  5. If SDLIsGameController(i) Then
  6. Print "Device " + i + " is a game controller"
  7. End If
  8. Next