Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 02:44:29 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: howto recognize the Shift and Alt keys when /pressed\
Message-ID:  <20131026024429.920d6e7e.freebsd@edvax.de>
In-Reply-To: <20131025114233.GA28606@ethic.thought.org>
References:  <20131021161200.GA18556@ethic.thought.org> <20131022012804.98a017fa.freebsd@edvax.de> <20131021164926.GA19974@ethic.thought.org> <20131022125901.6f3366fd.freebsd@edvax.de> <20131022121555.GA24386@ethic.thought.org> <20131022221027.30108304.freebsd@edvax.de> <20131023163805.GA7143@ethic.thought.org> <20131024021132.44324417.freebsd@edvax.de> <20131025114233.GA28606@ethic.thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Oct 2013 11:42:33 +0000, Gary Kline wrote:
> On Thu, Oct 24, 2013 at 02:11:32AM +0200, Polytropon wrote:
> > On Wed, 23 Oct 2013 16:38:05 +0000, Gary Kline wrote:
> > No need to re-invent the wheel here. Just "attach to" the
> > responsible components of the OS mentioned above. In C. :-)
> > 
> > 
> 
> 
> 	I wonder if I could take the src of xev.c and then, 
> 	seeing what it does when I click on CTRL, ATL, CAPS LOCK,
> 	anf SHIFT.  MAke any sense?

Yes, makes _perfectly_ sense as long as you're running X.
The X event viewer is a very good example on how to find
out the key codes. You simply need to get that "in between"
in the input chain so the keys keep working (instead of
"making them disappear" by reading them _from_ the input
buffer). I'd imagine that this is possible.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131026024429.920d6e7e.freebsd>