Create a means to prevent certain bindings
There are several scenarios in which we want to prevent a user from binding a command to a particular keystroke:
- Trying to bind a command to a keystroke already bound to another command. (Already handled in Orca Preferences).
- Trying to bind a command using the Orca modifier which might render that command unusable. (The new sleep mode feature is the only example I can think of at the moment. But there may be others now or in the future. Update: Now that bypass mode is a toggle, it's another example.)
- Trying to bind a command to something they just shouldn't, e.g. because it is a system command that we cannot consume. See at-spi2-core#147. (May or may not need to be handled by Orca, but I don't want to forget about this scenario for now.)
Edited by Joanmarie Diggs