Hello,
I have this part in my addon
Lua Code:
local function onKeyDown(self, key)
-- code
end
local frame = CreateFrame("Frame")
frame:EnableKeyboard(true)
frame:SetScript("OnKeyDown", onKeyDown)
Obviously, as it is written down in the api, it block everything else to use keyboard events. So, what is the method to know what key is pressed without blocking everything?