linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: Curses and key-up information
@ 2003-01-07 11:49 Steve Goodwin
  2003-01-17  0:17 ` +RudyMartin
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Goodwin @ 2003-01-07 11:49 UTC (permalink / raw)
  To: linux-c-programming

Thanks for that. A (deeper) trawl provided a post from 6/8/02 (thread: Re:
question about gcc and keyboard hadling) with some source code - will try it
l8r when I'm at a Linux box.

Steev




The information in this Internet Email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it by
anyone else is unauthorised. Please immediately notify the sender if you are
not the intended recipient and have received this mail. 
Any views or opinions presented are solely those of the author and do not
necessarily represent those of Bits Corp plc or any of its affiliates. 

Tel. +44 (0)20 8282 7200 
Fax. +44 (0)20 8450 9966

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Curses and key-up information
@ 2003-01-06 14:29 Steve Goodwin
  2003-01-06 16:00 ` Glynn Clements
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Goodwin @ 2003-01-06 14:29 UTC (permalink / raw)
  To: linux-c-programming

Hi all,

I'm writing to write a little curses maze game that involves a lot of key
handling, and the most obvious way to handle the control is with a
IsKeyDown(char key) type-function. Alas, curses doesn't appear to have one
and was wondering is anyone else has found a way around this problem (either
within curses, or using ioctl/poll or similar).

I have a (rather poor) solution whereas all keys are read on a zero timeout
and fast repeat, but the situation: 'z' key down, 'k' key down, will not
pick up the 'k' for more than 1 frame which is not enough :(

Steev



The information in this Internet Email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it by
anyone else is unauthorised. Please immediately notify the sender if you are
not the intended recipient and have received this mail. 
Any views or opinions presented are solely those of the author and do not
necessarily represent those of Bits Corp plc or any of its affiliates. 

Tel. +44 (0)20 8282 7200 
Fax. +44 (0)20 8450 9966

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-01-17 11:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-07 11:49 Curses and key-up information Steve Goodwin
2003-01-17  0:17 ` +RudyMartin
2003-01-17 11:21   ` Jan-Benedict Glaw
  -- strict thread matches above, loose matches on Subject: below --
2003-01-06 14:29 Steve Goodwin
2003-01-06 16:00 ` Glynn Clements
2003-01-07  7:08   ` Jan-Benedict Glaw

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 NNTP newsgroup(s).