

def _construct_keymap(self, config):
    '\n        Construct key map\n\n        .. versionadded:: 0.8\n        '
    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

dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/gui/menu.py MenuDialog._construct_keymap/original