> That appears to be a US English keyboard, A UK English has " and @
> transposed, as well as � where # is on a US keyboard  (both called a "pound
> sign" though). This means that select engine[1] is not between select
> Engine[0] and select Engine[2]. Do we need to consider different key
> mappings for different language keyboards? I know that some languages have
> particular problems with @ and other symbols.


I posted the table because I was hoping the "keyboard guru" would identify 
himself.  If there is no such guru, then we can build a knowledge base 
starting with collecting similar tables for every language.  When "enough" 
tables are completed we can put them all together in an HTML table.



> Is there a way of detecting which physical keys are pressed rather than
> which characters are typed? Is this the keyboard scan code?


AFAIK, plib does this internally.  Perhaps one of the plib wizards can write a 
small text-mode utility that displays the plib code corresponding to each key 
combination pressed?

Dave


> > Here's a key map for English keyboards, showing what keys are
> > used/unused.
> > It's incomplete because I haven't figured out all the codes
> > yet, and no, I
> > haven't seen anything helpfull in glut.h.  It would be nice
> > to have this for
> > other keyboards as well, and placed in the Docs directory.
> >
> >
> > code    keys        binding
> > ____    _________   ________________
> > 000
> > 001     [Ctrl][A]   Autopilot - toggle altitude lock
> > 002     [Ctrl][B]   Speedbrake - toggle speedbrake 0.0-1.0
> > 003     [Ctrl][C]   Panel - toggle clickable hotspots
> > 004     [Ctrl][D]
> > 005     [Ctrl][E]
> > 006     [Ctrl][F]
> > 007     [Ctrl][G]   Autopilot - toggle glide slope lock
> > 008     [Ctrl][H]   Autopilot - toggle heading lock
> > 009
> > 010
> > 011
> > 012
> > 013     [Enter]     Autopilot - increase heading; rudder right
> > 014     [Ctrl][N]   Autopilot - toggle nav1 lock
> > 015
> > 016
> > 017
> > 018     [Ctrl][R]   CCW - toggle winding
> > 019     [Ctrl][S]   Autothrottle - toggle lock
> > 020     [Ctrl][T]   Autopilot - toggle terrain lock
> > 021     [Ctrl][U]   Autopilot - add 1000ft altitude
> > 022     [Ctrl][V]   View - select view[0]
> > 023     [Ctrl][W]   Autopilot - toggle wing leveler
> > 024
> > 025
> > 026
> > 027     [Esc]       Prompt and Quit FlightGear
> > 028
> > 029
> > 030
> > 031
> > 032     [SPACE]     Engine - fire starter on selected engine
> > 033  !  [Shift][1]  Engine - select engine[0]
> > 034  "  [Shift][']
> > 035  #  [Shift][3]  Engine - select engine[2]
> > 036  $  [Shift][4]  Engine - select engine[3]
> > 037  %  [Shift][5]
> > 038  &  [Shift][7]
> > 039  '  [']         ATC - display dialog
> > 040  (  [Shift][9]
> > 041  )  [Shift][0]
> > 042  *  [Shift][8]
> > 043  +  [Shift][=]  Zoom - in
> > 044  ,  [,]         Brake - left
> > 045  -  [-]         Zoom - out
> > 046  .  [.]         Brake - right
> > 047  /  [/]
> > 048  0  [0]         Autopilot - increase heading; rudder left
> > 049  1  [1]         Elevator trim - decrease
> > 050  2  [2]         Autopilot - increase altitude; elevator increase
> > 051  3  [3]         Autothrottle - decrease; throttle decrease
> > 052  4  [4]         Aileron - left
> > 053  5  [5]         Controls - center
> > 054  6  [6]         Aileron - right
> > 055  7  [7]         Elevator trim - increase
> > 056  8  [8]         Autopilot - decrease altitude; elevator decrease
> > 057  9  [9]         Autothrottle - increase; throttle increase
> > 058  :  [Shift][;]
> > 059  ;  [;]
> > 060  <  [Shift][,]
> > 061  =  [=]         Zoom - set default
> > 062  >  [Shift][.]
> > 063  ?  [Shift][/]
> > 064  @  [Shift][2]  Engine - select engine[1]
> > 065  A  [Shift][A]  Speed-up - decrease
> > 066  B  [Shift][B]  Parking brake - toggle
> > 067  C  [Shift][C]  Scripting - test
> > 068  D  [Shift][D]
> > 069  E  [Shift][E]
> > 070  F  [Shift][F]
> > 071  G  [Shift][G]  Gear - down
> > 072  H  [Shift][H]
> > 073  I  [Shift][I]
> > 074  J  [Shift][J]
> > 075  K  [Shift][K]
> > 076  L  [Shift][L]
> > 077  M  [Shift][M]  Warp - decrease
> > 078  N  [Shift][N]
> > 079  O  [Shift][O]
> > 080  P  [Shift][P]  Panel - toggle
> > 081  Q  [Shift][Q]
> > 082  R  [Shift][R]
> > 083  S  [Shift][S]
> > 084  T  [Shift][T]  Warp - decrease delta
> > 085  U  [Shift][U]
> > 086  V  [Shift][V]  View - scroll in reverse
> > 087  W  [Shift][W]  3DFX - toggle full screen
> > 088  X  [Shift][X]  View - increase field of view
> > 089  Y  [Shift][Y]
> > 090  Z  [Shift][Z]  Visibility - decrease
> > 091  [  [[]         Flaps - decrease
> > 092  \  [\]
> > 093  ]  []]         Flaps - increase
> > 094  ^  [Shift][6]
> > 095  _  [Shift][-]
> > 096  `  [`]
> > 097  a  [A]         Speed-up - increase
> > 098  b  [B]         Brakes - all
> > 099  c  [C]         Cockpit - toggle 2D/3D
> > 100  d  [D]
> > 101  e  [E]
> > 102  f  [F]
> > 103  g  [G]         Gear - up
> > 104  h  [H]
> > 105  i  [I]
> > 106  j  [J]         Spoilers - decrease
> > 107  k  [K]         Spoilers - increase
> > 108  l  [L]         Tailwheel  - toggle lock
> > 109  m  [M]         Warp - increase
> > 110  n  [N]
> > 111  o  [O]
> > 112  p  [P]         Pause
> > 113  q  [Q]
> > 114  r  [R]         Replay
> > 115  s  [S]         Panel - swap
> > 116  t  [T]         Warp - increase delta
> > 117  u  [U]
> > 118  v  [V]         View - scroll forward
> > 119  w  [W]
> > 120  x  [X]         View - decrease field of view
> > 121  y  [Y]
> > 122  z  [Z]         Visibility - increase
> > 123  {  [Shift][[]  Engine - decrease magneto on selected engine
> > 124  |  [Shift][\]
> > 125  }  [Shift][]]  Engine - increase magneto on selected engine
> > 126  ~  [Shift][`]  Engine - select all engines
>
> <snip>
>
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

-- 
****************************
David Culp
[EMAIL PROTECTED]
****************************

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to