by Rachael » Thu Oct 31, 2019 8:09 am
I don't know all of what's going on but it seems to me that the code that is checking for keybind activations is not differentiating UI bind codes and regular binds. You are right that would be a hack - a horrific one at that and you should avoid it at all costs. Look for the code that is processing the inputs, instead, and make sure that when it is processing the screenshot key, it is only processing the non UI codes.
It might be necessary when a key event is received to store in a variable somewhere whether the key came in through a bind or through UI input.
I don't know all of what's going on but it seems to me that the code that is checking for keybind activations is not differentiating UI bind codes and regular binds. You are right that would be a hack - a horrific one at that and you should avoid it at all costs. Look for the code that is processing the inputs, instead, and make sure that when it is processing the screenshot key, it is only processing the non UI codes.
It might be necessary when a key event is received to store in a variable somewhere whether the key came in through a bind or through UI input.