reduce Obj-C calls in remoteIO input callback