[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: does emacs know (xev-like) when a modifier key is pressed?
From: |
Jason Rumney |
Subject: |
Re: does emacs know (xev-like) when a modifier key is pressed? |
Date: |
Thu, 13 Sep 2012 07:49:27 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Thursday, 13 September 2012 22:00:53 UTC+8, Joe Corneli wrote:
> Does Emacs know which modifiers are "on" at a given moment?
No. Certainly not at the lisp level. On some platforms that do not support all
modifiers being applied to any key, the C code has knowledge for some
modifiers, but it isn't exposed outside of the keyboard handling code (see
mod_key_state in w32inevt.c for example)