Skip to content

Commit

Permalink
Init analogs and touch at startup
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotme committed Jul 30, 2016
1 parent e603daf commit aa3340c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NotEngine/source/game/Director.cpp
Expand Up @@ -31,6 +31,9 @@ namespace NotEngine {
return false;
}

sceCtrlSetSamplingMode(SCE_CTRL_MODE_ANALOG);
sceTouchSetSamplingState(SCE_TOUCH_PORT_BACK, 1);
sceTouchSetSamplingState(SCE_TOUCH_PORT_FRONT, 1);
sceRtcGetCurrentTick(&mCurrentTicks);
mElapsed = 0;
mFrames = 0;
Expand Down

0 comments on commit aa3340c

Please sign in to comment.