signed int for mouse functions