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 |

Keymapping for middle mouse button?

 
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
Skweetis



Joined: 21 Sep 2001
Posts: 156
Location: Cambridge, Canada

PostPosted: Wed Aug 03, 2005 8:42 pm    Post subject: Keymapping for middle mouse button? Reply with quote

I was just wondering how I can map a control to the "clicked" mouse wheel, or middle mouse button?

Thanks in advance.

James
Back to top
View user's profile Send private message
cavalier889



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

PostPosted: Thu Aug 04, 2005 8:56 pm    Post subject: Re: Keymapping for middle mouse button? Reply with quote

Skweetis wrote:
I was just wondering how I can map a control to the "clicked" mouse wheel, or middle mouse button?

Thanks in advance.

James


I'm not sure about mapping an actual mouse click, but most mice come with software that allow the user to map a keystroke to a mouse click. That's probably your best bet.
Smile
Back to top
View user's profile Send private message Send e-mail
Sawdust



Joined: 14 Jun 2005
Posts: 312
Location: Quadrant DB22

PostPosted: Fri Aug 05, 2005 10:39 am    Post subject: Reply with quote

The code for the mouse button clicks are:
left = 0x01
right = 0x02
middle = 0x04

Here's a thread that might interest you since it gets into keymapping:
http://www.subsim.com/phpBB/viewtopic.php?t=39768&highlight=

This webpage I found lists the codes for other keys (partway down the page under EKEY_CODE):
http://irrlicht.sourceforge.net/docu/namespaceirr.html

And this page has a nice applet for download to tell you most of the codes (SH3 Key Checker):
http://www.delraydepot.com/tt/sh3.htm
Back to top
View user's profile Send private message Visit poster's website
Skweetis



Joined: 21 Sep 2001
Posts: 156
Location: Cambridge, Canada

PostPosted: Fri Aug 05, 2005 7:03 pm    Post subject: Reply with quote

Awesome! thanks. Thumbs Up

All I want to do is map the "hud" toggle to the middle mouse button (default keypad ./del) Since I normally stick to mous clicks for as much as possible!

James
Back to top
View user's profile Send private message
Skweetis



Joined: 21 Sep 2001
Posts: 156
Location: Cambridge, Canada

PostPosted: Fri Aug 05, 2005 10:32 pm    Post subject: Reply with quote

Hmmm... guessing this is not possible... the "hud"toggle is not listed in commands_en... must be hardcoded. Crying or Very sad
Back to top
View user's profile Send private message
Krieg-Schwein



Joined: 19 Apr 2005
Posts: 243

PostPosted: Sat Aug 06, 2005 5:28 am    Post subject: Reply with quote

get IntelliPoint software from M$ http://www.microsoft.com/hardware/mouseandkeyboard/Download.mspx
and install it then you can map the keys on your mouse to whatever you like for a specified program..It doesn't matter if it's a Microsoft mouse of not I have a Logitech MX510 gaming mouse and I like this better than the software that came with it
Back to top
View user's profile Send private message
Type941



Joined: 17 May 2005
Posts: 1311
Location: U-52

PostPosted: Sat Aug 06, 2005 7:27 am    Post subject: Reply with quote

Skweetis wrote:
Hmmm... guessing this is not possible... the "hud"toggle is not listed in commands_en... must be hardcoded. Crying or Very sad


the Del button is fairly close to my right thumb, so it's not much of problem for me, but I did want to use he wheel to UpScope/DownScope.
Back to top
View user's profile Send private message
Sawdust



Joined: 14 Jun 2005
Posts: 312
Location: Quadrant DB22

PostPosted: Sat Aug 06, 2005 8:36 am    Post subject: Reply with quote

Type941 wrote:
...I did want to use he wheel to UpScope/DownScope.

The mouse wheel (0x05) is used for Command 73. It might not work (as the periscope up and down are two seperate commands), but it might be interesting to experiment with assigning it to the command for periscope operation. Also, it would only work for one of the two periscopes on the boat anyway.
Back to top
View user's profile Send private message Visit poster's website
Skweetis



Joined: 21 Sep 2001
Posts: 156
Location: Cambridge, Canada

PostPosted: Sat Aug 06, 2005 9:46 pm    Post subject: Reply with quote

Quote:
get IntelliPoint software from M$ http://www.microsoft.com/hardware/mouseandkeyboard/Download.mspx


Great idea! Ill do that!
Back to top
View user's profile Send private message
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