File: mwheel.el.html

This enables the use of the mouse wheel (or scroll wheel) in Emacs.

Under X11/X.Org, the wheel events are sent as button4/button5 events.

Mouse wheel support is already enabled by default on most graphical displays. You can toggle it using M-x mouse-wheel-mode.

Defined variables (20)

mouse-wheel--installed-bindings-alistAlist of all installed mouse wheel key bindings.
mouse-wheel-click-eventEvent that should be temporarily inhibited after mouse scrolling.
mouse-wheel-down-eventEvent used for scrolling down.
mouse-wheel-flip-directionSwap direction of ‘wheel-right’ and ‘wheel-left’.
mouse-wheel-follow-mouseWhether the mouse wheel should scroll the window that the mouse is over.
mouse-wheel-inhibit-click-timeTime in seconds to inhibit clicking on mouse wheel button after scroll.
mouse-wheel-left-eventEvent used for scrolling left.
mouse-wheel-modeNon-nil if Mouse-Wheel mode is enabled.
mouse-wheel-mode-hookHook run after entering or leaving ‘mouse-wheel-mode’.
mouse-wheel-progressive-speedIf nil, scrolling speed is proportional to the wheel speed.
mouse-wheel-right-eventEvent used for scrolling right.
mouse-wheel-scroll-amountAmount to scroll windows by when spinning the mouse wheel.
mouse-wheel-scroll-amount-horizontalAmount to scroll windows horizontally.
mouse-wheel-tilt-scrollEnable horizontal scrolling by tilting mouse wheel or via touchpad.
mouse-wheel-up-eventEvent used for scrolling up.
mwheel-inhibit-click-event-timerTimer running while mouse wheel click event is inhibited.
mwheel-scroll-down-functionFunction that does the job of scrolling downward.
mwheel-scroll-left-functionFunction that does the job of scrolling left.
mwheel-scroll-right-functionFunction that does the job of scrolling right.
mwheel-scroll-up-functionFunction that does the job of scrolling upward.

Defined functions (13)

mouse-wheel--add-binding(KEY FUN)
mouse-wheel--create-scroll-keys(BINDING EVENT)
mouse-wheel--get-scroll-window(EVENT)
mouse-wheel--remove-bindings()
mouse-wheel-change-button(VAR BUTTON)
mouse-wheel-mode(&optional ARG)
mouse-wheel-text-scale(EVENT)
mwheel-event-button(EVENT)
mwheel-event-window(EVENT)
mwheel-filter-click-events()
mwheel-inhibit-click-timeout()
mwheel-install(&optional UNINSTALL)
mwheel-scroll(EVENT &optional ARG)

Defined faces (0)