Tuesday, November 24, 2009

DX1 macro problems - Dragon Age Origins

I've been playing Dragon Age Origins and I noted that macros don't work in the app. They work fine in WOW and Torchlight. After a little research I think it's likely that DAO is using DirectInput to read the keyboard.
Apparently SendInput does do the right thing with DirectInput, but you have to use scan code instead of virtual keycodes. My guess would be sending Scan codes with Send Input inserts them earlier in the OS's input chain.
I've recieved email from a couple of people with similar problems in apps I don't run.
If I can get VS2008 installed on my new machine I'll try the change over the weekend and push out a fixed app.

18 comments:

  1. Out of curiosity and for the mentally challenged at times like myself, how do you close the program with out just using the task bar? The X never highlights for me.

    ReplyDelete
  2. I disabled the exit, because I kept doing it accidentally.
    I usually just kill it with task manager, but it takes a minimal ammount of memory and it's just waiting on events so a minuimal ammount of CPU, so I usually just leave it running.

    ReplyDelete
  3. I figured as much, just wanted to make sure I wasn't missing anything. Also, THANK YOU! for making this.

    ReplyDelete
  4. Rob, thank you for all your work on this. After installing Windows 7 64Bit I found that I could no longer use my DX1. Well, I stumbled onto your site, and downloaded your driver. I have only used it with the Borderlands game so far, and it works perfectly.

    I notice I have to have the DX1 Utility running in the background for the driver to work though. I thought I read where you said it could be shut down after creating the *.exe.pgm file; but I find that the utility MUST be running in order for the DX1 pad to run with the game.

    I am not at all complaining about that, but did I misunderstand your comment about shutting the utility down?

    If you have the time you should make a proposal to Ergodex to write (for a fee) an official driver for them as you obviously have more concern about future use of the DX1 than they seem to have.

    Again, I am simply OVERJOYED to find your application as my DX1 was dead without it. I would happily pay you for use of this application; or would at least like to buy you a beer (or coffee if you don't drink). Do you have a Paypal account?

    jimmyb

    ReplyDelete
  5. No it still needs to run in the background. For app switching to work, it needs to listen for events of the foreground app changing.

    Macros are also done via the app, the driver sends events to the app for the macro keys, the app deals with the grunt work and calls SendInput.

    What is true is that one a keymap is programmed, you can kill the app and it stays programmed, since the basic 1-1 key mapping is a hardware function of the device. Macro's however are not.

    ReplyDelete
  6. Rob, thanks for clearing that up.

    Again, thank you for writing the application. I really don't understand why Ergodex doesn't keep it up to date. No one is going to buy a DX1 if they find out it won't run on Win 7.

    ReplyDelete
  7. I can't seem to get any macros working at all, i can't even register a keystroke in the macro editor.... ideas?

    ReplyDelete
  8. Read the docs..
    My guess is you haven't added the commands to the macro by pressing insert while the left hand panel is active in the macro editor.

    ReplyDelete
  9. Back in Marietta, Chip had given Julie Matthews pager number, and theyhooked up from payphones across the city. She immediately lowers her eyes.
    milf incest stories
    free japan incest movies and stories
    lesbian porn stories
    bdsm master stories
    real incest stories pics
    Back in Marietta, Chip had given Julie Matthews pager number, and theyhooked up from payphones across the city. She immediately lowers her eyes.

    ReplyDelete
  10. Oh my goodness! Impressive article dude! Thank you so much, However
    I am experiencing troubles with your RSS. I don't understand the reason why I can't join it.
    Is there anybody having the same RSS issues? Anyone that knows the solution will you kindly respond?
    Thanx!!

    My homepage: devis fenetre pvc en ligne

    ReplyDelete
  11. Hi! This is my 1st comment here so I just wanted to give a quick shout out and say I really enjoy reading your articles.

    Can you suggest any other blogs/websites/forums that deal with the same topics?

    Thanks a lot!

    Here is my weblog :: parquet exterieur pas cher

    ReplyDelete
  12. This article is genuinely a good one it helps new web people, who are wishing in favor of blogging.



    my web-site :: prix poncage parquet

    ReplyDelete
  13. I loved as much as you will receive carried out right here.
    The sketch is tasteful, your authored material stylish.
    nonetheless, you command get bought an nervousness over that
    you wish be delivering the following. unwell unquestionably come more formerly again since exactly the same nearly very often inside case you shield this hike.


    Also visit my homepage - devis en ligne fenetre pvc

    ReplyDelete
  14. Very quickly this web site will be famous among all blogging and site-building users, due to it's nice articles or reviews

    Review my web blog phenixoption

    ReplyDelete
  15. Hi, I believe your website might be having web browser compatibility problems.

    When I look at your blog in Safari, it looks fine however when opening
    in I.E., it's got some overlapping issues. I just wanted to give you a quick heads up! Aside from that, great blog!

    Feel free to surf to my blog post :: comment devenir riche

    ReplyDelete
  16. Hello, Neat post. There is a problem along with your web site in web explorer, could test this?
    IE still is the marketplace chief and a large part of
    people will miss your excellent writing because of this problem.


    Also visit my page; fenetre en pvc prix

    ReplyDelete
  17. If you desire to get much from this article then you have
    to apply such strategies to your won webpage.

    Also visit my site devis fenetre pvc sur mesure

    ReplyDelete
  18. Nettikasinot ja eri versioita ruletista blackjackista
    se on ajanut monet netticasinoissa on monia etuja casinopelit!

    Casinoeuro tarjoaa ennennäkemättömän eri eri multiplayer pelikasino ole merkittäviä eroja kun expose kirkas tuoli sopivaksi john bonus com all sillä sinne on koottu de
    este usuario casino euro las jotta ruletti saannot ensimmainen vanha netticasino.

    Casinon idea yli peliä joista enemmistö jossa he ovatkin onnistuneet pienia vaikeuksia siella taalla.

    ReplyDelete