View Full Version : Looking for table to edit commands.cfg?
briklebritt
03-06-10, 06:52 AM
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
Michal788
03-06-10, 06:53 AM
Good question. :03:
Seabass
03-06-10, 07:36 AM
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.
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.:up:
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.
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
http://www.subsim.com/radioroom/showthread.php?t=164085
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
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.