adding mouseIsPressed/keyIsPressed, keeping deprecated for now until examples are updated