Adds a new binding for the specified key.
key
Key to bind to.
binding
Binding object to add.
update
true to update a key's binding if it already exists.
A boolean value indicating whether the BindingManager.add() operation was successful.
For an example, refer to BindingManager.