Skip to main content
1 of 3

Having trouble making a keymap work when mouse button is released

I'm trying to bind view3d.navigate to middle mouse button so that it's only activated while the buttons is pressed.

I'm having trouble getting it to deactivate. I've tried every option "click", "press", "click drag" for example:

enter image description here

I presumed that didn't work because it needed a command to run on release which would deactivate view3d.navigate. I wasn't sure what to use so for testing purposes I'm using view3d.select as I know that works when bound to a separate key: enter image description here

Still no luck, any tips on what I should try?

Why am I doing this? I'm trying to replicate other 3D design programs. view3d.navigate allows navigating the viewport with wasd keys and moving the mouse.