unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "rgb" <rbielaws@i1.net>
Subject: Re: Using <apps> as a modifier key?
Date: 15 Apr 2005 09:57:12 -0700	[thread overview]
Message-ID: <1113584232.446550.117230@g14g2000cwa.googlegroups.com> (raw)
In-Reply-To: <usm1sw8k1.fsf@gmail.com>

> I'd love to have an extra modifier key that I can use together with
> the full range of "normal" keys to bind new commands.
>
> Maybe this is not possible at all, maybe those keys are,
> hardware-wise, special?
>
I'm no expert but

I don't believe the <apps> key is any different than function keys,
the arrow keys etc.  <C-apps>, <S-M-apps> etc can all be mapped.
It's a convenient prefix key which is why I use it for C-x & C-c.
I'm pretty sure applications aren't normally notified when
modifier-keys are pressed.  They are only informed of the state
of the modifier-flags-word when a non-modifier key is pressed.

IOW when you press 'h' Emacs gets a message with one word showing
the state of the modifier-flags and another showing the key that
was pressed.  This way the OS/keyboard-driver can implement
handicap features like anti-bounce, sticky keys, virtual keyboards
etc without applications needing to know they exist.

Making <apps> a modifier would require fiddling with the driver.
Try looking here for a loophole you can take advantage of if
you're energetic about a way to do it.  Otherwise you've got
8 unused prefix keys available thru it....

http://www.microsoft.com/whdc/device/input/default.mspx

  reply	other threads:[~2005-04-15 16:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-14 10:13 Using <apps> as a modifier key? Mathias Dahl
2005-04-14 19:25 ` rgb
2005-04-15 12:03   ` Mathias Dahl
2005-04-15 16:57     ` rgb [this message]
2005-04-16  4:13       ` Ian Zimmerman
2005-04-19 15:29       ` Mathias Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1113584232.446550.117230@g14g2000cwa.googlegroups.com \
    --to=rbielaws@i1.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).