keyboard buffer
|
Original Message
|
Name: Victor516
Date: August 11, 2002 at 16:32:54 Pacific
Subject: keyboard buffer
|
Comment: how can i read from the keyboard buffer in c++ thanks
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Berdon Magnus
Date: August 11, 2002 at 16:44:56 Pacific
Subject: keyboard buffer
|
Reply: (edit)I posted your answer at http://www.subduck.com. Here is the link to the post: http://www.subduck.com/cgi-bin/ib3/ikonboard.cgi?s=470492163e7dbe02b9dafdfa4da91d45;act=ST;f=1;t=50;r=1;top
Report Offensive Follow Up For Removal
|
|
Response Number 2
|
Name: Ç
Date: August 11, 2002 at 20:07:00 Pacific
Subject: keyboard buffer
|
Reply: (edit) aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa If your working in dos:
#include "stdio.h" void main() { char key, mem; while((key = getche()) != 27 { mem = peekb(0x40, 0x1A); /* pointer to next word in keyboard buffer */ if(mem == 0x1E) mem = 0x3C; /*look at the previous word (what you just typed) else mem -=2; printf("%002x", peekb(0x40, mem)); /* print ascii char */ printf("%002x\n", peekb(0x40, mem + 1)); /* print scan code */ } }
Report Offensive Follow Up For Removal
|
|
Response Number 3
|
Name: Victor516
Date: August 12, 2002 at 08:01:23 Pacific
Subject: keyboard buffer
|
Reply: (edit)I want to read from the buffer even while my program is not in focus like a key logger, but I dont want to use hooks
Report Offensive Follow Up For Removal
|
|
Response Number 4
|
Name: srikanth
Date: August 14, 2002 at 04:14:00 Pacific
Subject: keyboard buffer |
Reply: (edit)Hi All, How do you do. I have one quick question. Will be great if you can reply me back. I would like to read data from the keyboard buffer on windows 2000. Is there any set os APIs with which I can achieve this. Thanks in advance. Have a Great Day, Srikanth
Report Offensive Follow Up For Removal
|
|
Response Number 5
|
Name: Uhhh
Date: August 14, 2002 at 17:03:19 Pacific
Subject: keyboard buffer
|
Reply: (edit)Why do you need a key-logger? Steal passwords? Spy? Hrm...I can usually tell what key's I'm hitting....hrm.....
Report Offensive Follow Up For Removal
|
Use following form to reply to current message: