press 1 to pitch press 0 to swing
Credit to Kids Coding Playground on YouTube for teaching me the coding behind this.