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: Brian Cully
Subject: Re: master 3b41141708: Expose the name of an event's input device to Lisp
Date: Sun, 10 Apr 2022 08:44:08 -0400
User-agent: mu4e 1.6.10; emacs 29.0.50

Po Lu <luangruo@yahoo.com> writes:
> Those programs don't just show the details to the user, they expose
> those details to application code, in the hopes that the application
> code will allow the code to behave appropriately, and the user to
> customise the behavior based on those details.

        What level of application code is exposed to device naming?
Surely the vast majority of code in Krita is completely agnostic as to
where the event is coming from and only responding to an event type. The
configuration would only specify a map of device+device-event ->
internal-event (eg: (“logitech usb mouse” + “button 1 down”) -> “eraser
down”), and the rest of the code in the system only cares about the
latter event (“eraser down” in this case).

-bjc



reply via email to

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