* Stefan Ram -- Friday 03 April 2009: > # setlistener("devices/status/keyboard/event", func(n) > debug.dump(n.getValues())); > > So, I uncommented the line. It printed ugly ANSI Escape Sequences > that where not interpreted by my console window,
ANSI color codes can be turned off with --prop:sim/startup/terminal-ansi-colors=0 They are on by default because people who don't have ANSI support for their terminals usually don't ever look at the terminal contents anyway, while almost all people that do (mostly developers), do have ANSI support. Distributors for MS-Windows platforms may want to turn that flag off. > { key: 0, modifier: { meta: 0, shift: 0, alt: 0, super: 0, ctrl: 0, hyper: 0 > }, pressed: 1 } That shouldn't happen. key-code 0 is for Ctrl-Space, and shouldn't appear otherwise. Can you check if OSG's "osgkeyboard" example works properly? m. ------------------------------------------------------------------------------ _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users