# File lib/ruby-sdl-ffi/sdl/mouse.rb, line 72 def self.GetRelativeMouseState() xmp = FFI::Buffer.new( :int ) ymp = FFI::Buffer.new( :int ) buttons = __SDL_GetRelativeMouseState( xmp, ymp ) return [buttons, xmp.get_int(0), ymp.get_int(0)] end