3. Im not sure how you expect one button to have multiple functions. How is it supposed to known what you want to do? The solution is to use a modifier with the hotkey. If the hotkey is "1" for instance have your two functions mapped to 1 and ctrl+1 or shift+1...whatever.