Results 1 to 3 of 3

Thread: Using Dxinput effectively

  1. #1

    Using Dxinput effectively

    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?

  2. #2

    Using Dxinput effectively

    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?
    The views expressed on this programme are bloody good ones. - Fred Dagg

  3. #3

    Using Dxinput effectively

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •