Class: SDL2::Joystick

Inherits:
Struct
  • Object
show all
Defined in:
lib/sdl2/joystick.rb

Overview

Joystick structure used to internally identify a joystick

Class Method Summary collapse

Methods inherited from Struct

#==, cast, #initialize

Methods included from StructHelper

#member_readers, #member_writers

Constructor Details

This class inherits a constructor from SDL2::Struct

Class Method Details

.release(pointer) ⇒ Object



11
12
13
# File 'lib/sdl2/joystick.rb', line 11

def self.release(pointer)
  SDL2.joystick_close(pointer)
end