| View previous topic :: View next topic |
| Author |
Message |
Mad-h
Joined: 10 Apr 2005 Posts: 200 Location: Wicked Underground, Wicked Underwater
|
Posted: Thu Apr 21, 2005 5:42 pm Post subject: |
|
|
| 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. 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 |
|
 |
timetraveller
Joined: 23 Dec 2004 Posts: 967 Location: Atlantic Shipping Lanes
|
Posted: Fri Apr 22, 2005 7:41 am Post subject: |
|
|
| 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. 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 |
|
 |
Mad-h
Joined: 10 Apr 2005 Posts: 200 Location: Wicked Underground, Wicked Underwater
|
Posted: Fri Apr 22, 2005 7:50 am Post subject: |
|
|
| 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 |
|
 |
timetraveller
Joined: 23 Dec 2004 Posts: 967 Location: Atlantic Shipping Lanes
|
Posted: Fri Apr 22, 2005 8:31 am Post subject: |
|
|
| 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 |
|
 |
Mad-h
Joined: 10 Apr 2005 Posts: 200 Location: Wicked Underground, Wicked Underwater
|
Posted: Fri Apr 22, 2005 8:47 am Post subject: |
|
|
Yea, but if no goback command then the go to prev cam command won't work. That's the problem.  |
|
| Back to top |
|
 |
|
|
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
|