View Full Version : Using Dxinput effectively
HieiOtaku
16-04-2005, 05:49 PM
Hi everyone. What I really need is very specific control of the dxinput component. I need to register only a single keypress when I push a key, regardless of how long I hold the key down. I also cannot use the form.keypress event since it causes the dxdraw screen to skip whenever it detects keypress. Any suggestions?
Why not have a boolean that is set to true when the key goes down and set back to false when it is let go?
HieiOtaku
18-04-2005, 06:39 PM
Yeah, I figured I wold to have to do something of that sort. I was just wondering if there was anything built into dxinput specifically for that purpose. I ended up using the boolean idea anyways though.
Thanks everyone.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.