Mark Brooks wrote:

is it possible to use a modifier key with the scrollwheel to go through the rotamers, a la the "." next rotamer and "," previous rotamer keys.. This is a useful feature of O with a dial, where you select lego_side_chain, and just whizz through the rotamers and stop where you want.

Just to be slightly awkward, I can see (at most) only a marginal advantage of whizzing through rotamers with the scrollwheel rather that the "." key. However...

Perhaps "Control"+scrollwheel could be set to do this.

Yes it could - I have not thought of that. Ctrl and Shift scrollwheel could be bound to a user-function.

The wiki shows examples of how to bind single keys (e.g. http://strucbio.biologie.uni-konstanz.de/ccp4wiki/index.php/Pauls-key-bindings-for-coot ), but not with modifiers, as far as I can see.

That's right. There is now the shift modifier, so "D" id different to "d". There is no way to bind Ctrl-D (say) yet.

However, these are key binding, you are talking about button bindings - a different thing.

Are there any examples of setting up key modifiers for Coot somewhere? (Preferably in Scheme!). I have lots of (e.g.) arginines on multiple non-identical chains!

OK... well I will expose the next/previous rotamer to the scripting layer so that you can bind it to a turn of your PowerMate (for example). Or indeed a ctrl scrollwheel click.

Is this easy, or does it require lots of jumping through hoops? I don't see anything in the manual on this subject...

It needs some work on my part - not too difficult. I will add some documentation on the wiki when the functions are in place.

Thanks,

Paul.

Reply via email to