[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Touchscreen support
From: |
Lars Ingebrigtsen |
Subject: |
Re: Touchscreen support |
Date: |
Thu, 16 Dec 2021 08:58:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Po Lu via "Emacs development discussions." <emacs-devel@gnu.org> writes:
> I implemented the events required for full touchscreen support for
> XInput 2. These events are generated only for DirectTouch devices,
> which means real touchscreens only, no touchpads.
That's fantastic -- proper touchscreen support is something I've been
wanting to have in Emacs for at least a decade.
One question:
> Please take a look and see if the API I'm exposing is useful, and also
> easy enough to implement on non-X platforms.
> +The low-level touchscreen events described below can be used to
> +implement all the touch sequences described above. In those events,
> +each point is represented by a cons of an arbitrary number identifying
> +the point and a mouse position list (@pxref{Click Events}) specifying
> +the position of the finger when the event occurred.
What would the implementation of a (for instance) "three finger swipe
left" event look like based on these primitives?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Touchscreen support, Po Lu, 2021/12/16
- Re: Touchscreen support,
Lars Ingebrigtsen <=
- Re: Touchscreen support, Po Lu, 2021/12/17
- Re: Touchscreen support, Lars Ingebrigtsen, 2021/12/17
- Re: Touchscreen support, Stefan Monnier, 2021/12/17
- Re: Touchscreen support, Po Lu, 2021/12/17
- Re: Touchscreen support, Stefan Monnier, 2021/12/17
- Re: Touchscreen support, Po Lu, 2021/12/17
- Re: Touchscreen support, Stefan Monnier, 2021/12/17
- Re: Touchscreen support, Po Lu, 2021/12/17
- Re: Touchscreen support, Stefan Monnier, 2021/12/18