3

emacsで2本指側のスワイプジェスチャを利用したい。上下にスワイプすると、とにバインドされ[mouse-4]ます[mouse-5]。2本の指で横にスワイプするための別のバインディングはありますか?そうでない場合、two finger mouse動きに火をつけるイベントはありますか?ありがとう。

4

3 に答える 3

2

可能だと思いますが、Emacs はデフォルトでタッチパッドについて何も知らないと思います。上下にスワイプするときに表示されるイベントは、マウス ホイールの上下イベントです。

`(wheel-up POSITION)'

`(wheel-down POSITION)'
     These kinds of event are generated by moving a mouse wheel.  Their
     usual meaning is a kind of scroll or zoom.

     The element POSITION is a list describing the position of the
     event, in the same format as used in a mouse-click event (*note
     Click Events::).

     This kind of event is generated only on some kinds of systems. On
     some systems, `mouse-4' and `mouse-5' are used instead.  For
     portable code, use the variables `mouse-wheel-up-event' and
     `mouse-wheel-down-event' defined in `mwheel.el' to determine what
     event types to expect for the mouse wheel.

M-: (info "(elisp) Misc Events") RET

于 2012-04-05T03:42:50.457 に答える