emacs-devel
[Top][All Lists]
Advanced

[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: Lars Ingebrigtsen
Subject: Re: master 3b41141708: Expose the name of an event's input device to Lisp
Date: Sun, 10 Apr 2022 13:46:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> But we cannot determine whether a given device is a foot pedal without
>> the help of the user.
>
> Who is "we" in this context?  What level of Emacs input processing
> does this "we" allude to?

The OS doesn't know that the footpad HID device is a footpad, and we
certainly don't want to maintain a list in Emacs to map device
identifiers to classes -- that'd be a maintenance nightmare.

But we can allow users to see the device name (in C-h k, for instance),
and then allow the user to bind these events by referring to these names.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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