comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: Keyboard manipulation
Date: 1999/10/19
Date: 1999-10-19T00:00:00+00:00	[thread overview]
Message-ID: <7ui5du$gve$1@nnrp1.deja.com> (raw)
In-Reply-To: 380BAAA3.10777669@algopharm.com

In article <380BAAA3.10777669@algopharm.com>,
  Eric poirier <computer@algopharm.com> wrote:
> I'm pretty new to ADA and to this Newsgroup. I have a quite easy
> question: I know that is possible to get a character with the
> Ada.Text_io.Get_Immediate command, that take the carcater without the
> 'return' . Okay ! Now, I'd like to know how to get the arrays
caracters
> (left, right, up, down) of the keyboard...

That depends on the platform and OS you are using. You may be able to
reverse-engineer it for your system by writing a little program to
output the results of a Get_Immediate. But don't expect those results to
be valid for another OS or hardware platform.

Many OS's have a high-level way to get at your special keyboard keys,
but those will be OS calls, not Ada calls.

> the screen, I now need to know how to compare with the character I've
> got with the Get_Immediate  before ...

Is something wrong with "="?

--
T.E.D.


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~1999-10-19  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-18  0:00 Keyboard manipulation Eric poirier
1999-10-19  0:00 ` Ted Dennison [this message]
1999-10-19  0:00 ` Gautier
1999-10-22  0:00   ` Eric poirier
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox