[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: query: remapping a mouse press
From: |
Tak Kunihiro |
Subject: |
Re: query: remapping a mouse press |
Date: |
Fri, 24 Aug 2018 08:08:50 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (windows-nt) |
> I am having trouble enabling mouse-wheel-tilt-scroll
>
> Currently I have
>
> mouse-wheel-tilt-scroll is a variable defined in `mwheel.el'.
> Its value is t
> Original value was nil
>
> Possibly it is because my logitech mouse has many buttons and tilting
> the wheel generates mouse-6 and mouse-7, which are bound to scroll-down
> and scroll-up. I want to bind mouse-6 to scroll-left and tried several
> variations on
>
> (define-key global-map <mouse-6> 'scroll-left)
Disable mouse-wheel-mode by `M-x mouse-wheel-mode' then see if tilting
gives `<wheel-right> is undefined' or `<wheel-left> is undefined'. If
not, configure Logitech mouse.
Following is not necessary.
(define-key global-map [mouse-6] 'mwheel-scroll)