I'm a special kind of dumb, commented iOS input handling, sorry...