keep scrolling when the button keeps being pressed
(cherry picked from commit dcb720ac223304e6c0b238403dda3ca851c15ef0) Signed-off-by: Stefan `Sec` Zehl <sec@42.org>
This commit is contained in:
parent
1fda56be1e
commit
76b87e26ff
|
@ -93,8 +93,7 @@ int selectFile(char *filename, const char *extension)
|
||||||
files[i][dot]='.';
|
files[i][dot]='.';
|
||||||
}
|
}
|
||||||
lcdRefresh();
|
lcdRefresh();
|
||||||
key=getInputWait();
|
key=getInputWaitRepeat();
|
||||||
getInputWaitRelease();
|
|
||||||
switch(key){
|
switch(key){
|
||||||
case BTN_DOWN:
|
case BTN_DOWN:
|
||||||
if( selected < count-1 ){
|
if( selected < count-1 ){
|
||||||
|
|
Loading…
Reference in New Issue