[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 3b41141708: Expose the name of an event's input device to Lis
From: |
Stefan Monnier |
Subject: |
Re: master 3b41141708: Expose the name of an event's input device to Lisp |
Date: |
Thu, 07 Apr 2022 10:05:50 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> +@defvar last-event-device
> +This variable records the name of the input device from which the last
> +input event read was generated. It is @code{nil} if no such device
> +exists, i.e., the last input event was read from
> +@code{unread-command-events}, or it came from a keyboard macro.
> +
> +When the X Input Extension is being used on X Windows, the device name
> +is a string that is unique to each physical keyboard, pointing device
> +and touchscreen attached to the X server. Otherwise, it is either the
> +string @samp{"Virtual core pointer"} or @samp{"Virtual core
> +keyboard"}, depending on whether the event was generated by a pointing
> +device (such as a mouse) or a keyboard.
> +@end defvar
Any chance we could attach this info to the events rather than storing
them in some global var making it unclear to which event it applies?
Stefan
- Re: master 3b41141708: Expose the name of an event's input device to Lisp,
Stefan Monnier <=
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Po Lu, 2022/04/07
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Stefan Monnier, 2022/04/07
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Po Lu, 2022/04/07
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Eli Zaretskii, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Po Lu, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Eli Zaretskii, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Po Lu, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Eli Zaretskii, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Po Lu, 2022/04/08
- Re: master 3b41141708: Expose the name of an event's input device to Lisp, Eli Zaretskii, 2022/04/08