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