| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Help! Keyboard Buffer! |
Hello Carl! 22 Jul 94 21:26, Carl Forester wrote to All: > Does anyone know if there is an easy way to stuff the keyboard buffer, > like in DOS. I've paged through all the books I have (2), and it > doesn't say anything about stuffing the buffer, although it does say how > to read what's in it. There are two ways to do this. 1) If you are writing a PM program, or running in an OS/2 VIO window, use a JournalPlaybackHook routine to pump keystrokes into your app. This will probably not work for a full screen OS/2 session. 2) If using an OS/2 full screen session, use a keyboard device monitor, and insert the relevent information into the device chain. This does not work from the OS/2 desktop, it must be a full screen app. Both of these are decribed in the OS/2 toolkit manuals, (1) in the PM reference, and (2) in the virtual Device driver reference (I think). Hope this helps, Christian --- GEcho 1.01+* Origin: rc = DosMakeCoffee(CoffeeJarPtr,CC_MILK,CC_TWOSUGARS); (2:440/4.7) SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430 SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1 @PATH: 440/4 141/209 865 820 3615/50 229/2 12/2442 711/409 54/54 711/808 809 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.