Subject: bug#56779: 29.0.50; [wishlist] Function to check if a mouse-button is pressed

From: Po Lu <[email-masked]>
Date: Tue, 26 Jul 2022 18:43:38 +0800

Visuwesh <[email-masked]> writes:

> BTW, it would be nice if the order of the buttons was in the order
> they were pressed i.e., if I pressed mouse-1 then mouse-2 the list
> would be (mouse-2 mouse-1).

That information is unfortunately not readily available, but can't you
look at `recent-keys'?