There should be a convenient way of handling shortcuts. Right now there is AnyBackendEventCallback which would technically allow me to make shortcuts work, but it's backend-dependent and so any code handled by that would be kind of weird to work with.
Perhaps there could be an event specifically for passing through key down/up events?
Edit: Actually, perhaps ImGui::IsKeyDown and ImGui::IsKeyPressed would work just fine for this, so this might not even be completely necessary! Maybe I jumped the gun a bit too quick with a github issue :flushed:
There should be a convenient way of handling shortcuts. Right now there is
AnyBackendEventCallback
which would technically allow me to make shortcuts work, but it's backend-dependent and so any code handled by that would be kind of weird to work with.Perhaps there could be an event specifically for passing through key down/up events?
Edit: Actually, perhaps
ImGui::IsKeyDown
andImGui::IsKeyPressed
would work just fine for this, so this might not even be completely necessary! Maybe I jumped the gun a bit too quick with a github issue :flushed: