FreeBSD: binding backward/forward navigation actions to mouse buttons
Binding back/forward to mouse buttons — an (old) example of binding mouse buttons to backward/forward navigation. Boils down to emitting key sequences upon mouse button press/release events.