🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #25512

Re: Keykaps??

#25512
From: Jim Gettys
Date: Fri, 01 May 1987 17:15
15 lines
1319 bytes
In article <8705011421.a012964@ivax.doc.ic.ac.uk> lmjm@doc.ic.ac.UK writes:
>I was just asked if it is possible to write an application in X which
>is sort of similar to the keykaps of the Macintosh.  It has a window
>which represents the keyboard and when the image of a key is clicked
>in it it simulates that key event so that the focused window thinks
>that key has actually been presed.

Under V10 it is not possible.

Under V11 you could do this under some window management styles (any in
which the keyboard input focus is under control of/set by a window manager)
by using SendEvent.  You would have problems under a window manager which
does not handle input focus control, as you would not know where to send
the event.
				- Jim
Technical Details
Message-ID: <792@jumbo.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!mit-eddie!genrad!decvax!decwrl!jumbo!jg
References: <8705011421.a012964@ivax.doc.ic.ac.uk>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!mit-eddie!genrad!decvax!decwrl!jumbo!jg
From: jg@jumbo.dec.com (Jim Gettys)
Newsgroups: comp.windows.x
Subject: Re: Keykaps??
Message-ID: <792@jumbo.dec.com>
Date: Fri, 1-May-87 13:15:25 EDT
Article-I.D.: jumbo.792
Posted: Fri May  1 13:15:25 1987
Date-Received: Sun, 3-May-87 01:12:03 EDT
References: <8705011421.a012964@ivax.doc.ic.ac.uk>
Reply-To: jg@jumbo.UUCP (Jim Gettys)
Distribution: world
Organization: DEC Systems Research Center
Lines: 15