Fixed discrete input handling