Search found 4 matches

by lorddecker
Tue Nov 27, 2001 12:19 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Problems reading from keypad in c++ linux
Replies: 4
Views: 5494

i figured out that if I try to
activate the backlight whether or not I disabled the backlight, the keyboard stops responding.

any clues?
by lorddecker
Mon Nov 26, 2001 11:46 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Problems reading from keypad in c++ linux
Replies: 4
Views: 5494

Ok, this is what i have, but it'll run the first command and then halt. and won't do anyting else. wierd.
I know i'm positing too mutch to my own post, but i just want to give you guys the whole picture so you can help me better! Thankx guys!


while(a!='H'){if(read(moC->fd,&a,1)==1){
if(a=='M ...
by lorddecker
Mon Nov 26, 2001 11:05 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Problems reading from keypad in c++ linux
Replies: 4
Views: 5494

don't worry, I think I figured it out.

this is what I have.
while(a!='H'){
if(read(moC->fd,&a,1)==1){cout<<a<<endl;
}

any better way to do it with buffers?
by lorddecker
Mon Nov 26, 2001 10:49 pm
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Problems reading from keypad in c++ linux
Replies: 4
Views: 5494

I'm writing a little linux control
utility for my lcd.
I've got a a LK202-25.

I've got most of the functions already implemented. But I want to be able to read from the keypad (up,down,left,right,enter,f1,f2).

I don't really understand the poll_keyboard
feature. Could someone explain this to me ...