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

Reply
 
Thread Tools Display Modes
Old 03-06-10, 06:52 AM   #1
briklebritt
Bosun
 
Join Date: Dec 2009
Location: Germany
Posts: 68
Downloads: 145
Uploads: 0
Default Looking for table to edit commands.cfg?

How to change KEYs?

looking for a table which converts CODE to KEY

fe:

Key0=0x43,s,"SHIFT C"

- How to get the "0x43"
- what is "s"

Thx
briklebritt is offline   Reply With Quote
Old 03-06-10, 06:53 AM   #2
Michal788
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Good question.
  Reply With Quote
Old 03-06-10, 07:36 AM   #3
Seabass
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Google "virtual key codes". You'll get thousands of hits. Here's one:

http://www.kbdedit.com/manual/low_level_vk_list.html


The comments at the top of commands.cfg tell you what "s" is.
  Reply With Quote
Old 03-10-10, 09:43 AM   #4
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Default Setkeys

You might also try using the old key commands editor "Setkeys 1.3" used to display and edit the Commands.cfg equivalents in SH3 and SH4.

Although the program is from back 2005 or 2006, I tried it with SH5, just entered the path for SH5's Commands.cfg in Setkeys, and, voilá, it shows all commands by their names as well as their key codes. The key entries for any command can easily be edited (or added or removed) in a nice graphical interface, which includes a virtual keyboard.

The 's' stands for Shift ('c' for Ctrl) and is automatically added when editing/adding a key combination (e.g. Shift + x) command with Setkey's virtual keyboard.

If you have trouble googling&finding it, you can PM me.
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 03-10-10, 11:57 AM   #5
JREX53
Frogman
 
Join Date: Jan 2006
Posts: 300
Downloads: 353
Uploads: 13
Default

You could also do a google search for "ascii codes". If you do will find a wiki that explains them and gives you a table to choose from. The link is:
http://en.wikipedia.org/wiki/ASCII
__________________
Jim

JREX53 is offline   Reply With Quote
Old 03-10-10, 12:00 PM   #6
ATR-42
Commodore
 
Join Date: Mar 2007
Location: Jersey Shore
Posts: 606
Downloads: 20
Uploads: 6
Default

http://www.subsim.com/radioroom/showthread.php?t=164085
__________________

ATR-42 is offline   Reply With Quote
Old 09-01-12, 02:04 PM   #7
flostt
Sonar Guy
 
Join Date: Sep 2010
Location: Switzerland
Posts: 388
Downloads: 86
Uploads: 0
Default

I want to adapt the command.cfg from a mod to make it fit to my keyboard layout
(especially keys like "^" or "ö" or "§" are located differently on mine)

Does anybody have a working downloadlink for "SH3 Keychecker" from Timetraveler ? (shows hex value of pressed key)


I unfortunately can't use "SH Keymapper" by jimimadrid as it does not support the Swiss Keyboard layout

Don't know if "Setkeys 1.3" from Cavalier889 will work, couldn't find a working download link for this one either...

Thanks
__________________
Von den 40'000 deutschen U-Boot-Männern des Zweiten Weltkrieges kehrten 30'000 nicht zurück...
40’000 German sailors served on U-boats during World War II – 30’000 never returned home...
flostt is offline   Reply With Quote
Reply


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 09: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.