to move the definition of mouse button idx