For some reason the ncurses ALT-arrow key codes do not work any longer.
Has anything changed in ncurses? Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
eeaaede75e
commit
04f7492e6b
2 changed files with 12 additions and 10 deletions
14
linux.md
14
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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue