Browse Source

+ Keyboard unit overhaul
+ Shift+arrow keys now working in xterm
+ Keyboard restored when vt-switching away from application on Linux
console
+ Escape key remapped on Linux console so it works instantly.
+ Try to use Linux console more aggressively
+ Linux specific code now only executed on Linux terminals and not
on xterm, FreeBSD etc.

git-svn-id: trunk@2383 -

daniel 19 years ago
parent
commit
56d3bf1403
2 changed files with 296 additions and 457 deletions
  1. 2 1
      rtl/inc/keyscan.inc
  2. 294 456
      rtl/unix/keyboard.pp

+ 2 - 1
rtl/inc/keyscan.inc

@@ -1,7 +1,8 @@
 { list of all dos scancode for key giving 0 as char }
 Const
    kbNoKey       = $00;
-   kbAltEsc      = $01;
+   kbAltEsc      = $01;  {Alt+Esc = scancode 01, ascii code 0.}
+   kbEsc         = $01;  {Esc     = scancode 01, ascii code 27.}
    kbAltSpace    = $02;
    kbCtrlIns     = $04;
    kbShiftIns    = $05;

File diff suppressed because it is too large
+ 294 - 456
rtl/unix/keyboard.pp


Some files were not shown because too many files changed in this diff