Module: Rubygame::Mouse

Defined in:
lib/rubygame/constants.rb

Constant Summary collapse

MOUSE2STR =

Hash to translate mouse button sym to string

{
	MOUSE_LEFT => "left",
	MOUSE_MIDDLE => "middle",
	MOUSE_RIGHT => "right"
}
STR2MOUSE =

And to translate the other way…

MOUSE2STR.invert()