Re: [PyMOL] Middle mouse button in Mac Pymol does not work?

2016-12-06 Thread Thomas Holder
Hi Jason,

Middle mouse button always worked fine for me with MacPyMOL, using any kind of 
"normal" mouse (two buttons + wheel as middle button). I haven't tried a magic 
mouse, but also never received bug reports that those wouldn't work with 
MacPyMOL.

Could it be that any third party tool interferes here (like BetterTouchTool)?

A PyMOL script or plugin could also possibly redefine mouse actions (like 
https://pymolwiki.org/index.php/Mouse_modes ). You can suppress loading of 
plugins and pymolrc scripts with the -k flag (launch from Terminal as 
/Applications/MacPyMOL.app/Contents/MacOS/MacPyMOL -k).

It's true that a trackpad doesn't fully replace a 3 button mouse. ALT+click 
mimics the middle click, but it looks like SHIFT+ALT+drag doesn't work.

The mouse action codes are not documented anywhere. But you could have a look 
at the cButMode names, which are a bit more meaningful:
https://sf.net/p/pymol/code/HEAD/tree/trunk/pymol/layer1/ButMode.cpp#l501

Cheers,
  Thomas

On 05 Dec 2016, at 18:39, Jason D. Kahn  wrote:

> Hi --
> 
> I use Mac Pymol 1.8.4 / Mac OS Sierra, but this issue has been present 
> forever. I usually cannot get the middle "M" commands to work, either with an 
> old button mouse, a Magic mouse, or a laptop trackpad. I have tried Better 
> TouchTool without success. In 3-button editing mode, the middle button is 
> supposed to Move or MovO, but it just rotates instead. This makes any sort of 
> docking much more difficult.
> 
> Also, is there a guide to what all the Mouse Mode commands actually do? MvAZ? 
> MvSZ? PkTB? DrgM?
> 
> -- 
> Jason D. Kahn
> Dept. of Chemistry and Biochemistry
> University of Maryland
> College Park

-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


[PyMOL] Middle mouse button in Mac Pymol does not work?

2016-12-05 Thread Jason D. Kahn
Hi --

I use Mac Pymol 1.8.4 / Mac OS Sierra, but this issue has been present
forever. I usually cannot get the middle "M" commands to work, either with
an old button mouse, a Magic mouse, or a laptop trackpad. I have tried
Better TouchTool without success. In 3-button editing mode, the middle
button is supposed to Move or MovO, but it just rotates instead. This makes
any sort of docking much more difficult.

Also, is there a guide to what all the Mouse Mode commands actually do?
MvAZ? MvSZ? PkTB? DrgM?

-- 
Jason D. Kahn
Dept. of Chemistry and Biochemistry
University of Maryland
College Park
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net