mirror of
https://github.com/BernardoGiordano/Checkpoint
synced 2024-11-28 11:30:22 +00:00
Fixed selection
This commit is contained in:
parent
da3b79eb19
commit
1189beed4c
1 changed files with 1 additions and 7 deletions
|
@ -35,13 +35,7 @@ void IHid<ListDirection, PageDirection, Delay>::update(size_t count)
|
||||||
|
|
||||||
mMaxPages = (count % mMaxVisibleEntries == 0) ? count / mMaxVisibleEntries : count / mMaxVisibleEntries + 1;
|
mMaxPages = (count % mMaxVisibleEntries == 0) ? count / mMaxVisibleEntries : count / mMaxVisibleEntries + 1;
|
||||||
|
|
||||||
if (leftTriggerDown()) {
|
if (leftTriggerHeld()) {
|
||||||
pageBack();
|
|
||||||
}
|
|
||||||
else if (rightTriggerDown()) {
|
|
||||||
pageForward();
|
|
||||||
}
|
|
||||||
else if (leftTriggerHeld()) {
|
|
||||||
if (currentTime <= mLastTime + Delay) {
|
if (currentTime <= mLastTime + Delay) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue