int TyrionUI::updateState() { int joyPos = _joystick.getJoyStick(); if(joyPos==2){ editMode = !editMode; } if(editMode){ }else{ if(joyPos==3){ _prevPage(); }else if(joyPos==5){ _nextPage(); } } int retour = _pagesProps[_currPage]; return retour; //return _currPage; }
void PDFController::_swipeLeft() { _nextPage(); }