Added basic android gamepad support (#97)
This commit is contained in:
parent
bc71f44c75
commit
d7bbb0c7a2
3 changed files with 62 additions and 0 deletions
|
|
@ -927,6 +927,7 @@ int main(const int argc, const char *argv[])
|
|||
// Attach vulkan example to global android application state
|
||||
state->userData = vulkanExample;
|
||||
state->onAppCmd = VulkanExample::handleAppCommand;
|
||||
state->onInputEvent = VulkanExample::handleAppInput;
|
||||
vulkanExample->androidApp = state;
|
||||
#elif defined(__linux__)
|
||||
vulkanExample->setupWindow();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue