SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   How to modify keyboard shortcuts? (https://www.subsim.com/radioroom/showthread.php?t=190748)

mido 12-20-11 08:46 AM

How to modify keyboard shortcuts?
 
I need to travel extensively for the next couple of months but do not want to give up playing SH4. Therefore I need to modify some keyboard shortcuts for my laptop without numeric keypad.
At home the laptop has a nice big monitor and a keyboard plugged but of course not when I am traveling.
Can somebody help me to create a "mini-mod" which changes the keyboard shortcut layout? I need some keys which are only available from the numeric pad changed to a keyboard without numeric keypad.

Thanks in advance for any input!

HW3 12-20-11 07:54 PM

I am interested in this as well.:hmmm:

Klaus 12-20-11 07:59 PM

Quote:

Originally Posted by mido (Post 1808118)
I need to travel extensively for the next couple of months but do not want to give up playing SH4. Therefore I need to modify some keyboard shortcuts for my laptop without numeric keypad.
At home the laptop has a nice big monitor and a keyboard plugged but of course not when I am traveling.
Can somebody help me to create a "mini-mod" which changes the keyboard shortcut layout? I need some keys which are only available from the numeric pad changed to a keyboard without numeric keypad.

Thanks in advance for any input!

by editing Data/Cfg/Commands.cfg file
I will try today to make a minimod, but i don't know if i have enough time i have much work these days
What's the keys you want to change? for time compression, Numpad "+", "-" and "enter"?

mido 12-21-11 07:38 AM

Thanks so much for your reply!

The most needed keys in the numpad are - and + for time compression and and . for turning the UI on and off, and yes, the "Enter" key, too.

Which keys to assign to, well, that's a matter of taste, what ever is available.

Thanks again.

HW3 12-21-11 02:40 PM

Yes the + and - keys and the . for turning the UI on and off are the big ones. The rest I can work around. Thank you for doing this for us when you do get a chance to do it.

:salute:

irish1958 12-21-11 03:26 PM

This is the answer to all your problems. Make your own key map.
http://www.subsim.com/radioroom/show...t=SH_Keymapper

mido 12-21-11 07:04 PM

Quote:

Originally Posted by irish1958 (Post 1808750)
This is the answer to all your problems. Make your own key map.
http://www.subsim.com/radioroom/show...t=SH_Keymapper

Thanks for that one! Will give it a try right now.

HW3 12-22-11 01:35 AM

Hum, can't change the . to turn the UI on/off. It must be hard wired.

mido 12-22-11 08:31 AM

Quote:

Originally Posted by HW3 (Post 1809020)
Hum, can't change the . to turn the UI on/off. It must be hard wired.

I found out the same thing and this is the command you cannot access from anywhere else.

Or???

Where are the experts?

irish1958 12-22-11 12:39 PM

There is a command to hide the UI, and you should be able to map it with jimimadrid,s program.

I'm goin' down 12-22-11 02:33 PM

your laptop probably has a keyboard that allows you to access the Num Lock feature. On my loveno laptop the entry is Fn and Num Lock. Then when I hit the "." key, I can insert the crew in the anti aircrapt gun station in TMO. By hitting Fn and Num Lock as second time, the regular keyboard is resurrected and the gun is manned.

If you research your keyboard set up, you should be able to locate the combination required to use the Num Lock feature. The problem is that when you are in Num Lock mod, many keys may be assigned different function, so Keymapper may be the best bet.

HW3 12-22-11 04:04 PM

Quote:

There is a command to hide the UI
I know there is but, it is not listed in the commands.cfg, so the . key shows up in jimimadrid,s program as white with no command listed for it, so therefore we can not move it to a key we do have on our keyboards.

mido 12-22-11 06:15 PM

Quote:

Originally Posted by HW3 (Post 1809302)
...it is not listed in the commands.cfg...

That is exactly the problem, it is not listed as a command in the commands.cfg file. But the "Esc" key for the "in game menu" is not listed there either so there must be another file where these keys are assigned to certain in game commands.
Maybe somebody knows...

irish1958 12-23-11 10:10 AM

Hiding the UI
 
I am not sure what the problem is. I have a laptop and I mapped this on my computer. However, I used set keys to do it, but it was at least a couple of years ago and I don't remember how I did it.
SetKeys was developed forSH3, but with some effort it can be made to work with both SH4 and SH5. SetKeys has the advantage in that it can asign a series of commands to one key
When I have time I will look into it and see if I can do it again.

mido 12-23-11 11:31 AM

Here is the outcome for me:

I was not able to remap the numpad "." because the "hide UI" command is not handled by the command.cfg but I could remap numpad "+" and "-" (by now without the keymapper program) by making changes in the command.cfg.

To solve the problem with the numpad "." key (hide UI) I used a program called SharpKeys to change the numpad "." to an unused key on my laptop keyboard.

Thanks to all for the help!


All times are GMT -5. The time now is 07:57 AM.

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