IPB
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

Joystick control of MMB, It's not a game !
MouseOnMars
post Jul 24 2007, 11:15 PM
Post #1


Junior Member
**

Group: Members
Posts: 76
Joined: 4-June 07
From: United Kingdom
Member No.: 2288



I'm making a video using the latest MMB, but wanted more control, not unlike a camera man having a good grip on his camera.

I've been using the completely free and well written Auto Hot Key. One of the scripts allows the Joystick to be used as a mouse. With some added hotkeys using the Joystick buttons you can setup a proper control for MMB.

CODE
Joy11::
    Send {Click down}; Lock down left click for one hand panning
return

Joy10::
    Send {Click up}; Release left click
return

Joy6::
    Send, {a down}; Zoom in
    keywait Joy6
    Send, {a up}
return

Joy7::
    Send, {z down}; Zoom out
    keywait Joy7
    Send, {z up}
return

Joy8::
    Send, [; Previous site
return

Joy9::
    Send, ]; Next site
return

Joy5::
    Send, g; Center on image
return

Joy4::
    Send, h; Toggle rover tracking
return


With a few tweaks (I needed to reduce the sensitivity of the joystick script) I now have full control over MMB. I bet the MER teams wish they could have this much live control over the rovers but I guess we'll have to wait for manned missions for that.

mouseonmars


--------------------
Go to the top of the page
 
+Quote Post

Posts in this topic
- MouseOnMars   Joystick control of MMB   Jul 24 2007, 11:15 PM


Reply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 16th December 2024 - 05:41 AM
RULES AND GUIDELINES
Please read the Forum Rules and Guidelines before posting.

IMAGE COPYRIGHT
Images posted on UnmannedSpaceflight.com may be copyrighted. Do not reproduce without permission. Read here for further information on space images and copyright.

OPINIONS AND MODERATION
Opinions expressed on UnmannedSpaceflight.com are those of the individual posters and do not necessarily reflect the opinions of UnmannedSpaceflight.com or The Planetary Society. The all-volunteer UnmannedSpaceflight.com moderation team is wholly independent of The Planetary Society. The Planetary Society has no influence over decisions made by the UnmannedSpaceflight.com moderators.
SUPPORT THE FORUM
Unmannedspaceflight.com is funded by the Planetary Society. Please consider supporting our work and many other projects by donating to the Society or becoming a member.