emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Touchscreen support


From: Po Lu
Subject: Re: Touchscreen support
Date: Mon, 20 Dec 2021 08:54:17 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Po Lu <luangruo@yahoo.com>
>> Cc: larsi@gnus.org,  monnier@iro.umontreal.ca,  emacs-devel@gnu.org
>> Date: Sun, 19 Dec 2021 19:42:31 +0800
>> 
>> > I'm not opposed to having parts of this in Lisp, but I do want to see
>> > the events placed in the normal Emacs input queue, which probably
>> > means that Lisp will be called from C.  Not sure if such design will
>> > make sense in practice, though.  But OTOH, having events coming in
>> > from another source, not through the input queue read by
>> > read_socket_hook, is a complication I'd very much prefer to avoid (if
>> > it's even feasible).
>> 
>> We could have an API that allows Lisp to push some kinds of input events
>> to that queue, which is then read by the various read_socket_hooks.

> How would the low-level events, from which you want to construct
> higher-level events, get to Lisp in the first place?

Through the usual event system (though probably as special events in
special-event-map).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]