Hide controller hud on keyboard presses

This commit is contained in:
Shinovon 2026-05-07 19:18:31 +05:00
parent 52b026b689
commit 9ae42063f8

View file

@ -616,6 +616,7 @@ public:
}
virtual void HandlePointerEventL(const TPointerEvent& aPointerEvent) {
touch = true;
int x = aPointerEvent.iPosition.iX;
int y = aPointerEvent.iPosition.iY;
int w = Size().iWidth;
@ -777,6 +778,7 @@ public:
case EEventKeyUp: {
TInt k = MapScanCode(aEvent.Key()->iScanCode, aEvent.Key()->iModifiers);
if (k == -1) break;
touch = false;
virtualButtons[k] = aEvent.Type() == EEventKeyDown;
break;
}