Module | Rubygame::Mouse |
In: |
lib/rubygame/constants.rb
lib/rubygame/constants.rb |
MOUSE2STR | = | { MOUSE_LEFT => "left", MOUSE_MIDDLE => "middle", MOUSE_RIGHT => "right" | Hash to translate mouse button sym to string | |
STR2MOUSE | = | MOUSE2STR.invert() | And to translate the other way… | |
MOUSE2STR | = | { MOUSE_LEFT => "left", MOUSE_MIDDLE => "middle", MOUSE_RIGHT => "right" | Hash to translate mouse button sym to string | |
STR2MOUSE | = | MOUSE2STR.invert() | And to translate the other way… |