5
$\begingroup$

I would like to change my user preferences to pan the 3D view using Mouse 4 button + Middle Mouse Button and dragging it. This is the same as SHIFT+MMB. I would like to use Mouse 4 instead of shift.

I am using a Logitech G5 mouse which has 2 extra buttons on the side and I would like to use them. The buttons are recognised in Blender, that's not the problem. In Blender it is referred to as Button 4.

In User Preferences under the Input tab under 3D View I have created a new shortcut. I have tried multiple possibilities but none seem to work. I tried copying the same as the shift+mmb entry and replacing shift with Button 4 but that doesn't seem to work. I have tried using view3D.view_pan (as in the shortcut using ctrl+mouse wheel) but that also doesn't seem to work. I have tried the press and click and numerous other options, also changing Middle to Move instead. none seem to work.

I have saved my settings as default and am using a custom preset.
Am I missing something?

edit: I am using a new custom preset. Besides this new entry, everything else is set to default.

updated picture: expanded view3d move modal custom shortcut

Settings for default shortcut SHIFT+MMB default shortcut

note that the shortcut says "Button4 Mouse Middle" as opposed to "Middle Mouse". I don't know why. This might have something to do with it. Or as mentioned in the comments, maybe Blender does not support mouse buttons as modifiers.

$\endgroup$
9
  • $\begingroup$ Below the expanded entry, there's View3D Move Modal, which belongs to the above entry. Make sure it's the same as for the default Move view keybinding (and adapt for Button4). $\endgroup$
    – CodeManX
    Commented Oct 11, 2013 at 18:28
  • $\begingroup$ Interesting.. I tried this on linux, however blender does not seem to allow mouse buttons as custom modifiers. $\endgroup$
    – gandalf3
    Commented Oct 11, 2013 at 20:03
  • $\begingroup$ It doesn't accept any mouse button as key_modifier here, how strange. Even tried to re-bind it via PyConsole: >>> C.window_manager.keyconfigs['Blender User'].keymaps['3D View'].keymap_items[3].key_modifier = 'BUTTON4MOUSE' # -> 'NONE' $\endgroup$
    – CodeManX
    Commented Oct 11, 2013 at 22:52
  • 1
    $\begingroup$ Count me in on that question. Does mouse button 4 have some priveleges the other buttons haven't? Miva2, how did you make blender accept the button? $\endgroup$ Commented Oct 12, 2013 at 2:05
  • 4
    $\begingroup$ I mean, you have Button4 written in the field next to Alt and Cmd while I cannot do that with any mouse button. I click it, the field says 'press a key' and I do and it stays blank unless it's a keyboard key. $\endgroup$ Commented Oct 12, 2013 at 11:40

1 Answer 1

1
$\begingroup$

As far as I know, you can't use a mouse button as a key modifier, but only keyboard keys. (I don't know how you have set up "Button4" in the input)

"Button4" is only available in the drop-down list of mouse buttons :

enter image description here

$\endgroup$
2
  • $\begingroup$ This makes button 4 move the view, OP said they wanted only a combination of button 4 and MMB to move the view. ("I would like to change my user preferences to pan the 3D view using Mouse 4 button + Middle Mouse Button and dragging it") $\endgroup$
    – gandalf3
    Commented Oct 12, 2013 at 20:04
  • $\begingroup$ Very strange. It just worked for me. Yes, I wanted to use Button4 as modifier. I believe I have tried this and it didn't work (but that might be because I did something wrong) Will look into it more. $\endgroup$
    – miva2
    Commented Oct 14, 2013 at 17:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .