Closed justarandomguyintheinternet closed 3 weeks ago
Will need to have proper look tomorrow but I would want some changes definitely. Overall doesnt seem bad though and seems to cover #957 quite nicely :+1:
Do overlay keys not block ImGui input? Was this tested fully? I have a feel it may forbid from typing some letters but yeah, that is one of the things I need to properly "review"... Like if I set some hotkey like A+B, will I still be able to type A+B in ImGui input fields?
And another thing - did you verify that input functions of ImGui are not accessible outside of onDraw right? Think we move whole ImGui table outside of onDraw but better be sure...
Another thing I need to properly look at...
Guess other things will get resolved when you change it according to comments but will write them down tomorrow if they wont change in the meantime.
One more note following Discord messages - ImGui keyboard functions may not work with other layout than QWERTY I realised, would need to be checked...
If it doesnt function with other layout, would mark it as limitation for now as Im unsure now if it works with other layouts without changes in imgui_impl/win32.cpp (which this shouldnt touch ideally... that should be left for some other PR if it is an issue...)
Do overlay keys not block ImGui input? Was this tested fully? I have a feel it may forbid from typing some letters but yeah, that is one of the things I need to properly "review"... Like if I set some hotkey like A+B, will I still be able to type A+B in ImGui input fields?
And another thing - did you verify that input functions of ImGui are not accessible outside of onDraw right? Think we move whole ImGui table outside of onDraw but better be sure...
Another thing I need to properly look at...
Guess other things will get resolved when you change it according to comments but will write them down tomorrow if they wont change in the meantime.
onDraw
throws the expected Tried to call ImGui from invalid event!
error
registerOverlayHotkey(id, name, callback)