PDA

View Full Version : [TEC] Custom Key mapping, the hard way...


ATR-42
03-09-2010, 10:30 AM
in the absence of an easy way to set key mappings what is the nitty gritty of finding the key 'map'?

example...

[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?

Seeadler
03-09-2010, 10:43 AM
how do you figure out the map?

Use this little tool developed by Timetraveler for SH3.
http://www.filefront.com/15784615/SH3KeyChecker.zip/

hit a key and copy the map code to clipboard and then past in the commands.cfg

ATR-42
03-09-2010, 10:47 AM
Brilliant Seeadler! :salute:

gonna check it out now

flostt
10-02-2012, 11:57 AM
Does anybody have a working download link or a copy of Timetraveler's Tool ?

I need to adapt a modded commands.cfg to a Swiss German Keyboard Layout as some commands placed on "non-standard" keys don't work for me....

searching for alternatives on the net wasn't really fruitfull till now....