I was able to receive
_process in my GDNative C++ class already and was trying to capture
_unhandled_input. The method is declared as:
void _unhandled_input(InputEvent event);
And the compilation failed with errors. Compiler (MSVC) seems to complain about not being able to implicitly convert
InputEvent. I assume this is because GDNative script try to pass every parameter of the function using
So, what is the correct way to define
_unhandled_input method inside GDNative C++?