Skip to main content
edited tags
Link
Ray Mairlot
  • 29.4k
  • 12
  • 105
  • 126
deleted 84 characters in body
Source Link

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 usingtried view3d.select as I know that works when bound to a separate keyseen below but still no luck: enter image description here

Still no luck, any tipsAny hints on what Ii 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.

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.

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 tried view3d.select as seen below but still no luck: enter image description here

Any hints 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.

Source Link

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.