Add ANDROID_APP_SET_INPUT_EVENT macro for transferring input events from Java to the native thread