e.g. I would like to use “b” for bag, “C” for character… all these are in one Action Map “InterfaceMap”.
Another map for skills hotkeys, like 1,2,3… , as “skillMap”
While rebinding skills, how to awoid all keys in “InterfaceMap”?
You could check current rebound key and show a warning to the user if there are any conflicts. Similar how you set shortcuts in some apps and they warn you if shortcut was already used.
Then, is there any API for checking conflicts. Or I can only foreach antions foreach bindings to compare with the new binding overwrite path.
You can use the FindBinding method. If it returns -1 there is no duplicate.
cool, thanks