Mercurial > hg > dmlib
changeset 2531:24b32dbebe3d
Swap the meaning of page up/down keys and arrow up/down keys.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 23 May 2020 22:44:47 +0300 |
parents | aacf3bd1cceb |
children | f3be70c19ce9 |
files | tools/64vw.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/64vw.c Sat May 16 06:38:52 2020 +0300 +++ b/tools/64vw.c Sat May 23 22:44:47 2020 +0300 @@ -450,7 +450,7 @@ exitFlag = TRUE; break; - case SDLK_DOWN: + case SDLK_UP: case SDLK_LEFT: if (currIndex > 0) currIndex--; @@ -459,7 +459,7 @@ break; case SDLK_SPACE: - case SDLK_UP: + case SDLK_DOWN: case SDLK_RIGHT: if (currIndex + 1 < noptFilenames2) currIndex++; @@ -467,14 +467,14 @@ currIndex = noptFilenames2 - 1; break; - case SDLK_PAGEDOWN: + case SDLK_PAGEUP: if (currIndex > SET_SKIP_AMOUNT) currIndex -= SET_SKIP_AMOUNT; else currIndex = 0; break; - case SDLK_PAGEUP: + case SDLK_PAGEDOWN: if (currIndex + 1 + SET_SKIP_AMOUNT < noptFilenames2) currIndex += SET_SKIP_AMOUNT; else