Changed int value to enum (MouseInput)