Having trouble making a keymap work when mouse button is released
Go Preferences and see Keymap.
3D View &gt; 3D View (Global) &gt; View Navigation (Walk/Fly)
set to Mouse , Middle Mouse , Press (or Click Drag)
then
3D View &gt; View3D Walk Modal &gt; Confirm
set to Mouse , Middle Mouse , Release