vcvrack-packone icon indicating copy to clipboard operation
vcvrack-packone copied to clipboard

Stroke - toggle zoom level

Open vcvrackideas opened this issue 4 years ago • 6 comments

Hi Ben! I mean if we're gonna use zoom to fit and zoom out commands there - if that possible to map for example E key (first press, or toggle on) to zoom to fit and E key (second press, or toggle out) together? Now it doesn't work I think module can get the right state which command activated at the last. It's maybe a bit useful to focused only the one key to use but not necessary of course (maybe it will gonna mess with undo redo history in the rack itself?)

vcvrackideas avatar Jun 15 '20 05:06 vcvrackideas

Hm, I’m not sure if this makes things a bit complicated. I can add a new command which kind of toggles between „zoom in“ and „zoom out“ but I don’t think it will be very useful to combine arbitrary commands.

stoermelder avatar Jun 20 '20 06:06 stoermelder

Hm, I’m not sure if this makes things a bit complicated. I can add a new command which kind of toggles between „zoom in“ and „zoom out“ but I don’t think it will be very useful to combine arbitrary commands.

Ok,get it. It's just like an ordinary software use some key bindings, on\off things. I believe almost all ableton's interface commands work like that on the same bindings.

vcvrackideas avatar Jun 20 '20 07:06 vcvrackideas

I'm think I find good example for it - X mouse control software on windows allows to do some keystrokes to 4 and 5 additional buttons and in this case we can map to just one button Zoom to module and Zoom out so we could leave button for other needed thing. Cheers!

vcvrackideas avatar Jun 23 '20 05:06 vcvrackideas

I’m still not sure how to implement this properly. How should the software determine if zoom in or zoom out is desired if the current view is anywhere random in Rack? This question aside I added support for mouse buttons if you mouse has more than three buttons.

stoermelder avatar Jun 24 '20 09:06 stoermelder

I’m still not sure how to implement this properly. How should the software determine if zoom in or zoom out is desired if the current view is anywhere random in Rack? This question aside I added support for mouse buttons if you mouse has more than three buttons.

Maybe it can get an info from the Zoom slider? For example if Zoom is equal or more than 200% next state will be zoom out and the same principle with 100% - if equal or less it would be zoom to module.

vcvrackideas avatar Jun 24 '20 18:06 vcvrackideas

Hi Ben! Thanks for adding zoom toggle command but I have no luck with that. I think Zoom has different settings in the rack in different resolution of a screen. For example Zoom to module is only 170 but no 200 on my 1368p laptop but I wrote you about that suggestion from my fullhd PC and there was more than 200 percents if zoom to module function is applied. Sorry( An ideal situation seems to me is a double slider with min and max amount of zooms to toggle between them. It's a bit complicated and may be not useful for large amount of users EDIT: BUT just tried it on my PC and this is working awesome! So maybe just 4 switches for different zoom amount for resolutions 4k, 2k, fullhd and hd would be pretty cool, if possible :-)

vcvrackideas avatar Jun 27 '20 06:06 vcvrackideas