• Advertisement
Sign in to follow this  

Annoying directinput registry keys

This topic is 4856 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, DirectInput has an annoying habit of creating a key for every unique app run in the registry at:
HKEY_USERS\S-1-5-21<lotsa numbers>\Software\Microsoft\DirectInput\AppName.exeMORENUMBERS
Does anyone know how to turn off this key creation - I did it with my last windows setup but had to reinstall windows recently and forgot how to turn this off :( P.S. If you're developing something with directinput, have a look at the key above - there may be *thousands* of them - one for each time you recompile your app and run it!!!

Share this post


Link to post
Share on other sites
Advertisement
In the DirectX SDK documentation at:

DirectInput ->
Programming Tips and Tools ->
Avoiding Duplicate Registry Keys

Share this post


Link to post
Share on other sites
Simon is right. Check out the documentation there for a full explanation. I found the docs a little ambiguous as to where to create the key, and what its value should be (perhaps it's just me).

I have a .reg file for setting the value and it looks like this in text form

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\DirectInput]
"AppIdFlag"=hex:03

a

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement