Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Trouble remapping keys

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
Dhampy



Joined: 05 May 2005
Posts: 80
Location: Storming the beaches of Lake Michigan

PostPosted: Sat May 28, 2005 2:54 pm    Post subject: Trouble remapping keys Reply with quote

I want to change the "fire torpedo" button from "Enter" to the key directly above it, which is associated with these characters: "\ |".

OK, I go into Commands_en.cfg and find the entry for the command:

Quote:
[Cmd313]
Name=Fire_torpedo
Ctxt=1
Key0=0x0D,,"Enter"


I change "Enter" to what I assume is the proper name for the new key "\"

Quote:
[Cmd313]
Name=Fire_torpedo
Ctxt=1
Key0=0x0D,,"\"


I go into the game and the "Enter" key still fires the torps.

Is the actual key name the "Key0=0x0D" part and not the "Enter" part?

And if it is, what is the proper name for the "\" key?
Back to top
View user's profile Send private message Visit poster's website
Dhampy



Joined: 05 May 2005
Posts: 80
Location: Storming the beaches of Lake Michigan

PostPosted: Sat May 28, 2005 3:30 pm    Post subject: Reply with quote

They need to include an option to remap keys in the game with the next patch. Damn
Back to top
View user's profile Send private message Visit poster's website
CheeseMeister



Joined: 06 May 2005
Posts: 23

PostPosted: Sat May 28, 2005 3:38 pm    Post subject: Reply with quote

If I remember correctly, the bit in quotes is the text that is displayed on the keyboard help screen. You need to change the scancode. There was a tool somewhere to read your keyboard but I can't find it.

Try changing the code to 0x2B, it'll depend on what nationality keyboard you have though.

Found here http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html


Kev.
Back to top
View user's profile Send private message
Dhampy



Joined: 05 May 2005
Posts: 80
Location: Storming the beaches of Lake Michigan

PostPosted: Sat May 28, 2005 3:41 pm    Post subject: Reply with quote

CheeseMeister wrote:
If I remember correctly, the bit in quotes is the text that is displayed on the keyboard help screen. You need to change the scancode. There was a tool somewhere to read your keyboard but I can't find it.

Try changing the code to 0x2B, it'll depend on what nationality keyboard you have though.

Found here http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html


Kev.


Kick ass, lemme try it. Rock
Back to top
View user's profile Send private message Visit poster's website
Dhampy



Joined: 05 May 2005
Posts: 80
Location: Storming the beaches of Lake Michigan

PostPosted: Sat May 28, 2005 4:06 pm    Post subject: Reply with quote

No go. Crying or Very sad
Back to top
View user's profile Send private message Visit poster's website
CheeseMeister



Joined: 06 May 2005
Posts: 23

PostPosted: Sat May 28, 2005 4:12 pm    Post subject: Reply with quote

Found the little tool http://www.acsoft.ch/tmp/SH3KeyMap.ZIP

On my UK KB '\'/'|' key is 0xDC.


Kev.
Back to top
View user's profile Send private message
Dhampy



Joined: 05 May 2005
Posts: 80
Location: Storming the beaches of Lake Michigan

PostPosted: Sat May 28, 2005 4:17 pm    Post subject: Reply with quote

CheeseMeister wrote:
Found the little tool http://www.acsoft.ch/tmp/SH3KeyMap.ZIP

On my UK KB '\'/'|' key is 0xDC.


Kev.


Groovy. Smile
Back to top
View user's profile Send private message Visit poster's website
Dhampy



Joined: 05 May 2005
Posts: 80
Location: Storming the beaches of Lake Michigan

PostPosted: Sat May 28, 2005 4:18 pm    Post subject: Reply with quote

DC on my Microsoft Internet Keyboard Pro. Yep
Back to top
View user's profile Send private message Visit poster's website
cavalier889



Joined: 03 Dec 2004
Posts: 504
Location: Albuquerque NM

PostPosted: Sat May 28, 2005 4:24 pm    Post subject: Reply with quote

Dhampy wrote:
They need to include an option to remap keys in the game with the next patch. Damn


You could try mine Smile

On my site, click SetKey 1.0. Requires .NET.

BTW. This is a full featured key mapper for SHIII, not just something that reports the keycode Wink
Back to top
View user's profile Send private message Send e-mail
Dhampy



Joined: 05 May 2005
Posts: 80
Location: Storming the beaches of Lake Michigan

PostPosted: Sat May 28, 2005 4:30 pm    Post subject: Reply with quote

It worked!




@cavalier889: Next time, I'll remember to use yours.
Back to top
View user's profile Send private message Visit poster's website
gollum31548



Joined: 25 May 2005
Posts: 166

PostPosted: Sat May 28, 2005 6:20 pm    Post subject: Reply with quote

Dhampy wrote:
They need to include an option to remap keys in the game with the next patch. Damn


Agree. What's weird is that Far Cry is also published by UBI and it does have a key-mapping feature available from the options screen. Given that Windoz keyboard mapping is fixed you'd think that the publisher could specify the developers use a block of code to accomodate key binding.

They could even provide the block of code to accomplish the mapping Thumbs Up
Back to top
View user's profile Send private message
Dhampy



Joined: 05 May 2005
Posts: 80
Location: Storming the beaches of Lake Michigan

PostPosted: Sat May 28, 2005 8:29 pm    Post subject: Reply with quote

gollum31548 wrote:
Dhampy wrote:
They need to include an option to remap keys in the game with the next patch. Damn


Agree. What's weird is that Far Cry is also published by UBI and it does have a key-mapping feature available from the options screen. Given that Windoz keyboard mapping is fixed you'd think that the publisher could specify the developers use a block of code to accomodate key binding.

They could even provide the block of code to accomplish the mapping Thumbs Up


Far Cry is German. Far Cry has beaches. Which furthers the theory that Germans love David Hasslehoff. Joking
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group