SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
07-30-07, 01:44 AM | #11 | |
XO
Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
|
Quote:
add this to key_codes.csv CTRL-ENTER,0xA2+0x0D,0x00 As you'll notice from other lines near the bottom of that file, 0xA2 is obviously CTRL and ENTER is already defined up above as 0x0D. You can combine up to two keys using + in this way. Codes for SHIFT and ALT and anything else I forgot can be found here: http://delphi.about.com/od/objectpascalide/l/blvkc.htm (just preface all with 0x) Next, in key_commands.csv, change the line: 12,Key,Fire,ENTER to 12,Key,Fire,CTRL-ENTER Since CTRL-ENTER matches the entry in key_codes.csv, that's it, you're done! These are separate from voice_command.csv so that you can add a dozen voice commands for "fire" without worrying about putting in the right key. It's all documented at the bottom of the readme (though I realize I forgot to include the URL for the key codes... I've updated the readme.txt with this and also included links in a "docs" subfolder in the zip.) |
|
Thread Tools | |
Display Modes | |
|
|