Skip to main content
1-Visitor
August 18, 2015
Solved

Middle Mouse button customization

  • August 18, 2015
  • 1 reply
  • 14318 views

How can I change the behavior of the middle mouse button? I am new to Creo and Would like to make it so that I pan with the middle mouse button pressed and orbit with SHIFT+MMB. Basically the reverse of what it is currently set (I'm assuming as default) Also, is there a way to switch how the wheel zooms in and out? Again, reversing the control scheme. This latter problem isn't a big deal, but the Pan/Orbiting is what I really want to know if it can be changed.

Best answer by MartinHanak

Javier,

reversing of zooming direction is mentioned in How to reverse the mouse wheel zoom. I guess that AutoHotkey is able to solve your first request ...

Martin Hanak

1 reply

24-Ruby III
August 19, 2015

Javier,

reversing of zooming direction is mentioned in How to reverse the mouse wheel zoom. I guess that AutoHotkey is able to solve your first request ...

Martin Hanak

jcolon1-VisitorAuthor
1-Visitor
August 19, 2015

Thanks martin. This helps. I do have a question, in that above mentioned thread it mentions a command for the AHK script...

#IfWinActive, ahk_class Dialog

WheelDown::WheelUp

WheelUp::WheelDown

I tried to replicate it with the middle mouse button behavior and thought maybe adding this bit...

#IfWinActive, ahk_class Dialog

+MButton::MButton

MButton::+MButton

I created a new script and I had this in there...

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.

; #Warn  ; Enable warnings to assist with detecting common errors.

SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.

SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

#IfWinActive, ahk_class Dialog

WheelDown::WheelUp

WheelUp::WheelDown

Return

#IfWinActive, ahk_class Dialog

+MButton::MButton

MButton::+MButton

Return

But the MMB behavior does not change. I saw the the + sign is for the SHIFT button, but I'm not sure what the command for the middle mouse button would be. I am totally ignorant on HTML coding, so most of this script is all above my head.

24-Ruby III
August 20, 2015

Javier,

+MButton::MButton

MButton::+MButton

I think the above mentioned remapping will not work, because +MButton is not single key/button. It is a combination of key and button.

For example the following remapping will work

MButton::RButton

RButton::MButton

I am sorry I can't help you. I spent some time looking for a solution, unfortunatelly without success .

Martin Hanak