5.3 Enhanced Input: Make two opposing inputs cancel each other out when pressed

What should I do when I want to have the opposite of this, so that when I press A, it takes priority over D, and when I press D it takes priority over A? In my current implementation, when holding A, pressing D takes priority over A, but when holding D, pressing A wont do anything.