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 |

SH3 Key Checker [tool inside]
Goto page Previous  1, 2
 
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
Mad-h



Joined: 10 Apr 2005
Posts: 200
Location: Wicked Underground, Wicked Underwater

PostPosted: Thu Apr 21, 2005 5:42 pm    Post subject: Reply with quote

timetraveller wrote:
Mad-h wrote:
Any ways i can get the mouse button codes?

[Cmd73]
Name=Cam_wheel_zoom
Ctxt=1
Key0=0x05,R,"M.wheel"

So the code for the mouse wheel is 05, but what about the buttons? I'm thinking about mapping the prev cam to the right mouse button, and the go back commands will be fixed.


I don't know what they have used for the right mouse button. Looks like they have invented the x05 for the wheel. Let us know if you find it.

-timetraveller


Well i found it. The code for right mouse button is 02. You can get all the remaining keycodes here: http://www.itmodule.com/VKcodes.htm
So i mapped prev cam to the right mouse button, but now it goes back twice, once for the prev cam, and once for the goback command. But if i delete the go back commands prev cam won't work. Damn So if you looking through the attack periscope and press the RMB it takes you to the conning tover camera instead of the periscope camera. Or when you Press RMB on the deck, you fall down to the command room (ugh..a big fall.. :huh: ). Any help?
Back to top
View user's profile Send private message MSN Messenger
timetraveller



Joined: 23 Dec 2004
Posts: 967
Location: Atlantic Shipping Lanes

PostPosted: Fri Apr 22, 2005 7:41 am    Post subject: Reply with quote

Mad-h wrote:
timetraveller wrote:
Mad-h wrote:
Any ways i can get the mouse button codes?

[Cmd73]
Name=Cam_wheel_zoom
Ctxt=1
Key0=0x05,R,"M.wheel"

So the code for the mouse wheel is 05, but what about the buttons? I'm thinking about mapping the prev cam to the right mouse button, and the go back commands will be fixed.


I don't know what they have used for the right mouse button. Looks like they have invented the x05 for the wheel. Let us know if you find it.

-timetraveller


Well i found it. The code for right mouse button is 02. You can get all the remaining keycodes here: http://www.itmodule.com/VKcodes.htm
So i mapped prev cam to the right mouse button, but now it goes back twice, once for the prev cam, and once for the goback command. But if i delete the go back commands prev cam won't work. Damn So if you looking through the attack periscope and press the RMB it takes you to the conning tover camera instead of the periscope camera. Or when you Press RMB on the deck, you fall down to the command room (ugh..a big fall.. :huh: ). Any help?


Excellent find, Mad-h! Thanks for posting it.

I think a double right click is being generated because of your definition for the right mouse button. The game already recognizes the press of the right button seperate (and ahead of) the command definition. Maybe you can remove one of them? That might bring you back to where we were though.

-timetraveller
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mad-h



Joined: 10 Apr 2005
Posts: 200
Location: Wicked Underground, Wicked Underwater

PostPosted: Fri Apr 22, 2005 7:50 am    Post subject: Reply with quote

Any default actions related to right mouse button happens when you release the button. The mapped keys work when you push them down. Maybe this can be altered. Or that hard coded goback command can be mapped to an other key? Dunno..
Back to top
View user's profile Send private message MSN Messenger
timetraveller



Joined: 23 Dec 2004
Posts: 967
Location: Atlantic Shipping Lanes

PostPosted: Fri Apr 22, 2005 8:31 am    Post subject: Reply with quote

Mad-h wrote:
Any default actions related to right mouse button happens when you release the button. The mapped keys work when you push them down. Maybe this can be altered. Or that hard coded goback command can be mapped to an other key? Dunno..


Yeah, you could try pulling all the GoBack= commands.

-timetraveller
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mad-h



Joined: 10 Apr 2005
Posts: 200
Location: Wicked Underground, Wicked Underwater

PostPosted: Fri Apr 22, 2005 8:47 am    Post subject: Reply with quote

Yea, but if no goback command then the go to prev cam command won't work. That's the problem. Rolling Eyes
Back to top
View user's profile Send private message MSN Messenger
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
Goto page Previous  1, 2
Page 2 of 2

 
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