Mercurial > hg > dmlib
changeset 1595:1eb8c1dc81fd
Add arrow up and down keys as alias controls to left and right.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 14 May 2018 06:44:20 +0300 |
parents | afb49736615a |
children | 9bc23e64f565 |
files | tools/64vw.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/64vw.c Mon May 14 06:38:58 2018 +0300 +++ b/tools/64vw.c Mon May 14 06:44:20 2018 +0300 @@ -312,6 +312,7 @@ exitFlag = TRUE; break; + case SDLK_DOWN: case SDLK_LEFT: if (currIndex > 0) currIndex--; @@ -319,6 +320,7 @@ currIndex = 0; break; + case SDLK_UP: case SDLK_RIGHT: if (currIndex < noptFilenames2 - 1) currIndex++;