src/aoikhotkey/hotkey_manager.py
def _hotkey_info_by_vk_map_get(self, hotkey_type):
        """
        Get hotkey info by-VK map for given hotkey type.

        :param hotkey_type: Hotkey type.

        :return: Hotkey info by-VK map for given hotkey type.
        """
        # If is key-down hotkey
        if hotkey_type == HOTKEY_TYPE_V_DN:
            # Use key-down map
            hotkey_info_by_vk_map = self._hotkey_info_by_vk_map_for_key_down

        # If is key-up hotkey
        elif hotkey_type == HOTKEY_TYPE_V_UP:
            # Use key-up map
            hotkey_info_by_vk_map = self._hotkey_info_by_vk_map_for_key_up

        # If is key-sequence hotkey
        elif hotkey_type == HOTKEY_TYPE_V_KS:
            # Use key-sequence map
            hotkey_info_by_vk_map = self._hotkey_info_by_vk_map_for_key_seq

        # If is none of above
        else:
            # Raise error
            assert 0, hotkey_type

        # Return the map
        return hotkey_info_by_vk_map

        Get hotkey info by-VK map for given hotkey type.

        :param hotkey_type: Hotkey type.

        :return: Hotkey info by-VK map for given hotkey type.
        
Get hotkey info by-VK map for given hotkey type.
Get hotkey info by - VK map for given hotkey type .
def _hotkey_info_by_vk_map_get(self, hotkey_type):
        if hotkey_type == HOTKEY_TYPE_V_DN:
            hotkey_info_by_vk_map = self._hotkey_info_by_vk_map_for_key_down
        elif hotkey_type == HOTKEY_TYPE_V_UP:
            hotkey_info_by_vk_map = self._hotkey_info_by_vk_map_for_key_up
        elif hotkey_type == HOTKEY_TYPE_V_KS:
            hotkey_info_by_vk_map = self._hotkey_info_by_vk_map_for_key_seq
        else:
            assert 0, hotkey_type
        return hotkey_info_by_vk_map
def _hotkey_info_by_vk_map_get ( self , hotkey_type ) : if hotkey_type == HOTKEY_TYPE_V_DN : hotkey_info_by_vk_map = self . _hotkey_info_by_vk_map_for_key_down elif hotkey_type == HOTKEY_TYPE_V_UP : hotkey_info_by_vk_map = self . _hotkey_info_by_vk_map_for_key_up elif hotkey_type == HOTKEY_TYPE_V_KS : hotkey_info_by_vk_map = self . _hotkey_info_by_vk_map_for_key_seq else : assert 0 , hotkey_type return hotkey_info_by_vk_map
Get hotkey info by-VK map for given hotkey type.
Get hotkey info by - VK map for given hotkey type .
"""
        Get hotkey info by-VK map for given hotkey type.

        :param hotkey_type: Hotkey type.

        :return: Hotkey info by-VK map for given hotkey type.
        """ # If is key-down hotkey # Use key-down map # If is key-up hotkey # Use key-up map # If is key-sequence hotkey # Use key-sequence map # If is none of above # Raise error # Return the map
Hotkey info by-VK map for given hotkey type.
Hotkey info by - VK map for given hotkey type .
self
hotkey_type
None