Added mouse handlers for the InpDevWrapper class (previously KeyboardInput)