PDA

View Full Version : keyboard mapping?


lengro
02-27-13, 05:59 AM
Hi

I would prefer to use the mouse as little as possible:

1) Is there any mods that enables turning the perioscope with the keyboard instead of the mouse?

2) Is it possible to map TheDarkWraith's NewUI teleporter to keys (I know it can be toggled with 't' - but what about the subcategories)?

thank you

Fifi
02-27-13, 07:49 AM
Here is the best tool for you: http://www.subsim.com/radioroom/showthread.php?t=168297

Easy to use, i have all my keys mapped for SH5.
Because i prefer the arrows to mouve :yep:
It will create a little mod called "MyKey". Activate last on your list.

volodya61
02-27-13, 08:43 AM
2) Is it possible to map TheDarkWraith's NewUI teleporter to keys (I know it can be toggled with 't' - but what about the subcategories)?

OptionsFileEditorViewer - data/Applications
There are a lot Hotkeys you can change for NewUI

Dogfish40
02-27-13, 10:54 AM
Here is the best tool for you: http://www.subsim.com/radioroom/showthread.php?t=168297

Easy to use, i have all my keys mapped for SH5.
Because i prefer the arrows to mouve :yep:
It will create a little mod called "MyKey". Activate last on your list.

Hello Fifi.
Are you able to use the arrow keys for the periscope? I am asking because I found that the finding and editing the arrow keys specifically for the periscope to be a bit confusing for me. Were you able to do this? If so, it would make a great stand alone mod.
Thanx
D40:up:

Torpedo
02-27-13, 11:38 AM
Hi all!

I may have found the solution to use the arrows with peri, obs, uzo and binocular.

FIRST: make a backup of the file Commands.cfg

the path: Silent Hunter 5\data\Cfg\Commands.cfg

then in the Commands.cfg (not the backup :03:) whit a notepad you must place the following commands or only change if the commands already exist with these:


[Cmd80]
Name=To_left
Contexts=1,2,3,5,6,9,11,13,15
MnID=0x31000001
Key0=0x25,R,"Left"

[Cmd83]
Name=To_right
Contexts=1,2,3,5,6,9,11,13,15
MnID=0x31000003
Key0=0xb0,R,"Mouse L/R"
Key1=0x27,R,"Right"

[Cmd86]
Name=To_up
Contexts=1,2,3,5,6,9,11,13,15
MnID=0x31000002
Key0=0x26,R,"Up"

[Cmd89]
Name=To_down
Contexts=1,2,3,5,6,9,11,13,15
MnID=0x31000004
Key0=0xb1,R,"Mouse U/D"
Key1=0x28,R,"Down"

and save the file commands.cfg !

I tried this change and it seems to work. You can make a small mod to activate this new file commands.cfg with JSGME.

Torpedo

Fifi
02-27-13, 04:10 PM
Hello Fifi.
Are you able to use the arrow keys for the periscope? I am asking because I found that the finding and editing the arrow keys specifically for the periscope to be a bit confusing for me. Were you able to do this? If so, it would make a great stand alone mod.
Thanx
D40:up:

I didn't try for the periscope Dogfish, but i'm quite sure it can do it :)
In my tests, i changed many keys assignations, and all worked well so far.
You can even delete all your SH5 keys, and start mapping from scratch if you want...
Jimimadrid made an awesome little tool there!

Easy to use:
- put the keymapper application in main root SH5 folder
- open/run it, and in file, open load from mykey (it will create the mykey mod in MODS folder)
- change whatever key using easy mod (look at the readme)
- close and activate the mykey mod last!

lengro
02-27-13, 06:13 PM
Here is the best tool for you: http://www.subsim.com/radioroom/showthread.php?t=168297


Thanks Fifi, that indeed looks very promising, I will spend some time with that one!

OptionsFileEditorViewer - data/Applications
There are a lot Hotkeys you can change for NewUI

Excellent - found them, now I just have to figure out the perfect keyboard layout!


I may have found the solution to use the arrows with peri, obs, uzo and binocular.


Sweet - just tried it, and periscope turned fine. heh - so did the Uboat too as arrow keys also still was mapped to the rudder. :)
It proves though, that periscope can be turned with keys, from here its just a matter of remapping.

What a great community you got here!