Game programming

Moderators: None (Apply to moderate this forum)
Number of threads: 2070
Number of posts: 5361

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
DInput and Keyboad ISR problems Posted by Rock on 1 Jun 1999 at 2:14 PM
I have a problem with getting certain keyboard input in both DInput for Win, and from DOS using an ISR. In both of my versions I have problems when the following 3 keys are being pressed at the same time: Left arrow, down arrow, and left ALT. (maybe just a vertical arrow and horizontal arrow with the ALT).<br>
I've also seen this with many example keyboard ISRs I've downloaded. Is this a keyboard hardware problem, or is there some work-around for this. It seems that every game uses this combination, but except for an early version of DOOM I haven't noticed it other games.<p>
Thanks.<p>
Rock


Edit Report
Re: DInput and Keyboad ISR problems Posted by Rock on 1 Jun 1999 at 8:31 PM
On closer inspection, it looks as if other games do have this problem too. I guess my keyboard is either damaged or junk. I'll have to see if I dig up another one if the problem will go away, since I don't have this problem with my laptop.<br>
Ohh, and since I didn't say it, the problem is that it seems the last key of the three to be pressed doesn't generate an interrupt. Anybody see this with other computers?<p>
: I have a problem with getting certain keyboard input in both DInput for Win, and from DOS using an ISR. In both of my versions I have problems when the following 3 keys are being pressed at the same time: Left arrow, down arrow, and left ALT. (maybe just a vertical arrow and horizontal arrow with the ALT).<br>
: I've also seen this with many example keyboard ISRs I've downloaded. Is this a keyboard hardware problem, or is there some work-around for this. It seems that every game uses this combination, but except for an early version of DOOM I haven't noticed it other games.<br>



Edit Report
Re: DInput and Keyboad ISR problems Posted by MLINK on 2 Jun 1999 at 7:36 AM
I also have this problem, but I've had it with many key combinations. I have been able to get as many as 6 or 7 keys at a time, but only certain keys. There seems to be keys that cannot be detected together. In some cases, the order you press them in has changed it. <br>
If you make a program that prints out a value for each key that is pressed at any time, you can see this with many key combinations (especially extended keys like F keys, arrow keys, and shifting keys).<br>
However, I've only tested this on 386/486 computers. Has anyone noticed this on a Pentium?<p>
MLINK<p>
: On closer inspection, it looks as if other games do have this problem too. I guess my keyboard is either damaged or junk. I'll have to see if I dig up another one if the problem will go away, since I don't have this problem with my laptop.<br>
: Ohh, and since I didn't say it, the problem is that it seems the last key of the three to be pressed doesn't generate an interrupt. Anybody see this with other computers?<p>
: : I have a problem with getting certain keyboard input in both DInput for Win, and from DOS using an ISR. In both of my versions I have problems when the following 3 keys are being pressed at the same time: Left arrow, down arrow, and left ALT. (maybe just a vertical arrow and horizontal arrow with the ALT).<br>
: : I've also seen this with many example keyboard ISRs I've downloaded. Is this a keyboard hardware problem, or is there some work-around for this. It seems that every game uses this combination, but except for an early version of DOOM I haven't noticed it other games.<p>






 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.