SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-09-10, 11:30 AM   #1
ATR-42
Commodore
 
Join Date: Mar 2007
Location: Jersey Shore
Posts: 605
Downloads: 20
Uploads: 6
[TEC] Custom Key mapping, the hard way...

in the absence of an easy way to set key mappings what is the nitty gritty of finding the key 'map'?

example...
Quote:
[Cmd120]
Name=Rise_periscope
Ctxt=1
Key0=0x21,R,"PgUp"

[Cmd121]
Name=Rise_whole_periscope
Ctxt=1
Key0=0x21,c,"Ctl+PgUp"
if i want to assign a key to a command i need to pick a key then i need to know the map for that key, "key0=0x21,r...." how do you figure out the map? im sure modifiers such as wanting to set shift or alt with the key stroke complicates matters. is there a method or code to the map itself?

i thought about just cherry picking the data from the config file of Sh4. say that file shows the above map for periscope key, simply copy and paste that info into the sh5 config file.

comments suggestions?
__________________

ATR-42 is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:57 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.