reading from the keyboard

How do you get input from the keyboard without inputing into a terminal?

ben <ben@paybycheck.com> wrote:
: How do you get input from the keyboard without inputing into a terminal?

Do you want a soft keyboard that you can use with a mouse
or touchscreen? Or am I confused by you question?

If you want a soft keyboard I can give you source for one.

Brian Edmond (briane@qnx.com)
QNX Software Systems Ltd.

I just want my program to get input from the keyboard. But the only ways I
see is getchar() and opening the keybaord and reading from it directly.
When i use getchar i have to type into the terminal for it to work. And i
can read the scan codes but sometimes the values come out funny and mess up
my keybaord.

Brian Edmond a écrit :

ben <> ben@paybycheck.com> > wrote:
: How do you get input from the keyboard without inputing into a terminal?

Do you want a soft keyboard that you can use with a mouse
or touchscreen? Or am I confused by you question?

If you want a soft keyboard I can give you source for one.

Brian Edmond (> briane@qnx.com> )
QNX Software Systems Ltd.

Hey, I’m interested by your soft as we plan to install touchscreen on our
machine!!

Thanks,
Alain.