public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Alain Birtz <abz@videotron•ca>
To: linuxppc-dev@lists•linuxppc.org
Subject: Detecting keyboard event (input) for non X application
Date: Fri, 26 May 2000 09:46:26 -0400	[thread overview]
Message-ID: <392E8032.F5FFE56@videotron.ca> (raw)


Within an infinite loop, how to know if there is a keyboard input ?
Is there something similar to XNextEvent for non X application ?

getchar do not work since it stop and wait for the next keyboard event.
What I need is a function that I can call periodically to know if there
is a keyboard input.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2000-05-26 13:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-26 13:46 Alain Birtz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-05-26 14:09 Detecting keyboard event (input) for non X application kd

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

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

  git send-email \
    --in-reply-to=392E8032.F5FFE56@videotron.ca \
    --to=abz@videotron$(echo .)ca \
    --cc=linuxppc-dev@lists$(echo .)linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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