How to add shortcuts to change brushes in weight paint mode

Sorry,
I did not understand the exact meaning of your question …:face_with_hand_over_mouth:

Maybe this solution:
https://blenderartists.org/t/weight-painting-toggle-between-add-and-subtract/1161121