class SDL2::Haptic
Constants
- COMMON_ENVELOPE
Identical ending elements shared between structures. You can ignore this constant.
- COMMON_LAYOUT
Identical starting elements shared between structures. You can ignore this constant.
- INFINITY
Used to play a device an infinite number of times. TODO: Review if this works.
Public Class Methods
release(pointer)
click to toggle source
Free pointer associated with a haptic structure
# File lib/sdl2/haptic.rb, line 431 def self.release(pointer) SDL2.haptic_close(pointer) end