How to disable shortcuts in custom GauntletLayer?

Users who are viewing this thread

Hi!

I have created GauntletLayer which I host load from city menu. In the layer I have EditableTextWidget in which I want to capture some text. It works all fine except when I click on shortkey key, then for example for L the encyclopedia is loaded and my widget doesnt get the "L" letter. As I could deduct the events are not passed down from input to layers to widgets with focus. How can I make it work, is it even possible? I was looking little how it is done in option to capture key changes. There some mock is used in form of KeybindingPopup which uses own GauntletLayer and does some magic inside which seams quite complicated. Is there "easy" way to get what Im looking for? IE disabling shortcuts in my GauntletLayer?
 
Back
Top Bottom