Ar an dara lá déag de mí Eanair, scríobh Stephen J. Turnbull:
Aidan Kehoe writes:
> Early December.
http://hg.debian.org//hg/xemacs/xemacs/?cs=26ec8d0f3a9c .
> Unfortunately I think this conflicts with Rodney's use case.
Please explain.
Rodney’s use case was spam trapped. I quote:
2-finger scrolling is like mouse wheel scrolling. Dragging 1 finger
on
the tracker pad moves the pointer, 2 fingers scrolls. However, I have
discovered the problem is not with the API, it is just that mwheel
support is not loaded currently by default. The following snippet does
the trick:
;; Enable wheelmouse support by default
(require 'mwheel)
;;Define the mouse scroll wheel
(defun up-slightly () (interactive) (scroll-up 5))
(defun down-slightly () (interactive) (scroll-down 5))
(global-set-key [mouse-4] 'down-slightly)
(global-set-key [mouse-5] 'up-slightly)
;;Support for scrolling Griffin powermate
(global-set-key [wheel-down] 'up-slightly)
(global-set-key [wheel-up] 'down-slightly)
(global-set-key [double-wheel-down] 'up-slightly)
(global-set-key [double-wheel-up] 'down-slightly)
(global-set-key [triple-wheel-down] 'up-slightly)
(global-set-key [triple-wheel-up] 'down-slightly)
Rodney
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta