def _construct_keymap(self, config):
        keymap = {}

        for key in config.left_shoulder:
            keymap[key] = self._switch_left
        for key in config.right_shoulder:
            keymap[key] = self._switch_right
        for key in config.start:
            keymap[key] = self._menu

        return keymap
Creates a transaction for swapping assets for bitcoins.
dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/gui/menu.py/MenuDialog._construct_keymap--crossover with--dataset/ETHPy150Open OpenAssets/openassets/openassets/transactions.py/TransactionBuilder.btc_asset_swap