mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-22 17:47:20 +03:00
Controls are working now
This commit is contained in:
parent
6d7e068d03
commit
d4d2f375d2
1 changed files with 6 additions and 6 deletions
|
|
@ -39,8 +39,8 @@
|
|||
#include "Timer.h"
|
||||
|
||||
//debug
|
||||
#include <e32cons.h>
|
||||
LOCAL_D CConsoleBase* console;
|
||||
/*#include <e32cons.h>
|
||||
LOCAL_D CConsoleBase* console;*/
|
||||
|
||||
psGlobalType psGlobal;
|
||||
|
||||
|
|
@ -410,8 +410,8 @@ public:
|
|||
}
|
||||
|
||||
void ConstructL(const TRect& aRect, CAknAppUi* aAppUi) {
|
||||
console = Console::NewL(_L("RE3 Debug"), TSize(KConsFullScreen, KConsFullScreen));
|
||||
console->Printf(_L("Console iniciada\n"));
|
||||
/*console = Console::NewL(_L("RE3 Debug"), TSize(KConsFullScreen, KConsFullScreen));
|
||||
console->Printf(_L("Console iniciada\n"));*/
|
||||
|
||||
iAppUi = aAppUi;
|
||||
CreateWindowL();
|
||||
|
|
@ -629,9 +629,9 @@ public:
|
|||
bool pressed = (aType == EEventKeyDown);
|
||||
TUint scan = aKeyEvent.iScanCode;
|
||||
|
||||
if(console){
|
||||
/*if(console){
|
||||
console->Printf(_L("Scan: %d Type: %d Pressed: %d\n"), scan, aType, pressed);
|
||||
}
|
||||
}*/
|
||||
|
||||
// Variables estáticas para permitir movimiento en diagonal sin que se anulen entre sí
|
||||
static bool keyUp = false, keyDown = false, keyLeft = false, keyRight = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue