Function android_ffi::inputs_callback [] [src]

pub extern "C" fn inputs_callback(
    _: *mut android_app,
    event: *const AInputEvent
) -> i32

The callback for input.

This callback is registered when we startup and is called by our main thread, from the function android_main2. We then process the event to gain additional information, and finally send the event, which normally would be recieved by the main application thread IF it has registered a sender.