Board index FlightGear Development

Keyboard codes

FlightGear is opensource, so you can be the developer. In the need for help on anything? We are here to help you.
Forum rules
Core development is discussed on the official FlightGear-Devel development mailing list.

Bugs can be reported in the bug tracker.

Keyboard codes

Postby aprecelton » Sun Nov 20, 2016 6:16 pm

Hello All

Can anyone tell me where I can find a full list of the keyboard codes that represent the key board buttons e.g.; key n="20", = Ctrl-T

What is the system that the number '20' comes from, is it ASCII? or a different system. I'm asking as I want to change some of the keyboard bindings, and possibly add some of my own, but dont know what numbers to use to represent the various key strokes or combo of keys.

Any pointers would be gratefully received!

Thanks.
aprecelton
 
Posts: 31
Joined: Fri Feb 26, 2016 10:20 am

Re: Keyboard codes

Postby Gijs » Sun Nov 20, 2016 6:18 pm

Hi,

See our wiki http://wiki.flightgear.org/Howto:Reassi ... d_bindings There's a section on how to find those codes ;-)
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9390
Joined: Tue Jul 03, 2007 2:55 pm
Location: Amsterdam/Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10

Re: Keyboard codes

Postby aprecelton » Sun Nov 20, 2016 6:49 pm

Thanks very much GIjs! Used to console in FG which displays the number.

Cheers :)
aprecelton
 
Posts: 31
Joined: Fri Feb 26, 2016 10:20 am


Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest