Fork mouse_base.rb

Fork form http://www.66rpg.com/articles/2828, for indication only