> home > Custom Layer Boundary API

get_current_input

September 8th 2024
In a view context, get the input that has been most recently sent to the view

Signature

C++
User_Input
get_current_input(Application_Links* app);

Parameters

app

the standard custom layer context pointer

Return

the most recent input sent to the view; cleared to zero if this is not called from a view context thread, or if no inputs have been sent to this view context thread yet

Related

get_next_input