Sign in to follow this  
SparkyFlooner

How do I remove app defined mappings?

Recommended Posts

SparkyFlooner    122
Is it just not possible?

If I map action A to F3, how can I remove that association?

You can't build an empty action map. SetActionMap will fail. Am I stuck with those settings until I reset the device with at least 1 action?

Share this post


Link to post
Share on other sites
paic    645
In the old empty projects, there was by default an action mapper associated with F3, so you just had to press F3, and then you could associate an action with any key, delete an action map, etc.
So if you manage to find this project, you can look in the code to find your answer

sorry, i'm don't know much about DInput, can't help much ^^''

Share this post


Link to post
Share on other sites
SparkyFlooner    122
It would be a rather serious deficiency not provide a way to remove action maps for a device. And the policy of "replace only" doesn't work if there are no actions that can be mapped to the device.

I don't believe there's no way to say to an input device "Don't use action maps" or "Unload all of your action maps and start buffering all device input again".

Is there some default user you can pass in? Do you have to reinitialize the device?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this