Brakes are usually assigned to a function, mine are all F7, so it would mean having a setting to assign as that function.
I use game pads and one of the buttons is assigned as F7 in the game pad settings, has the advantage you don't touch the phone once the loco(s) are selected.
?
Mike Ruby