mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-22 17:47:20 +03:00
Hide controller hud on keyboard presses
This commit is contained in:
parent
52b026b689
commit
9ae42063f8
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue