diff --git a/linux.md b/linux.md index 87a59321..654e7516 100644 --- a/linux.md +++ b/linux.md @@ -8,7 +8,7 @@ There are 3 projects * applen: a frontend based on ncurses * qapple: Qt frontend -The libapple interface is a *link time* interface: some functions are not defined and must be provided in order to properly link +The libapple interface is a *link time* interface: some functions are not defined and must be provided in order to properly link the application. These functions are listed in [interface.h](source/linux/interface.h). The main goal is to reuse the AppleWin source files without changes: only where really necessary the AppleWin source files have @@ -47,12 +47,14 @@ Keyboard shortcuts * F2: terminate emulator * F12: Load Snapshot -* ALT-LEFT: 2x narrower hi res graphics -* ALT-RIGHT: 2x wider hi res graphis -* ALT-UP: 2x vertical -* ALT-DOWN: 2x vertical +* ALT-RIGHT: wider hi res graphis +* ALT-LEFT: narrower hi res graphics +* ALT-UP: vertical hi res (smaller) +* ALT-DOWN: vertical hires (bigger) -The joystick uses evdev. +In order to properly appreciate the wider hi res graphics, open a big terminal window and choose a small font size. + +The joystick uses evdev (currently the device name is hardcoded). ### qapple diff --git a/source/frontends/ncurses/world.cpp b/source/frontends/ncurses/world.cpp index 80e1c03f..ff256557 100644 --- a/source/frontends/ncurses/world.cpp +++ b/source/frontends/ncurses/world.cpp @@ -483,16 +483,16 @@ int ProcessKeyboard() case 0x14a: // DEL ch = 0x7f; break; - case 0x221: // ALT - LEFT + case 0x222: // ALT - LEFT asciiArt->changeColumns(-1); break; - case 0x230: // ALT - RIGHT + case 0x231: // ALT - RIGHT asciiArt->changeColumns(+1); break; - case 0x236: + case 0x237: // ALT - UP asciiArt->changeRows(-1); break; - case 0x20D: + case 0x20E: // ALT - DOWN asciiArt->changeRows(+1); break; default: