src/aoikhotkey/hotkey_manager.py
def _hotkey_info_get_by_hotkey(self, hotkey, hotkey_type):
        """
        Get hotkey info for given hotkey.

        :param hotkey: Virtual key list.

        :param hotkey_type: Hotkey type.

        :param return: Hotkey info.
        """
        # Get given hotkey's virtual key tuple
        hotkey_tuple = self._hotkey_to_tuple(hotkey, hotkey_type=hotkey_type)

        # Get hotkey info map
        hotkey_info_by_vk_map = self._hotkey_info_by_vk_map_get(hotkey_type)

        # Get hotkey info
        hotkey_tuple_info = hotkey_info_by_vk_map.get(hotkey_tuple, None)

        # Return the hotkey info
        return hotkey_tuple_info

        Get hotkey info for given hotkey.

        :param hotkey: Virtual key list.

        :param hotkey_type: Hotkey type.

        :param return: Hotkey info.
        
Get hotkey info for given hotkey.
Get hotkey info for given hotkey .
def _hotkey_info_get_by_hotkey(self, hotkey, hotkey_type):
        hotkey_tuple = self._hotkey_to_tuple(hotkey, hotkey_type=hotkey_type)
        hotkey_info_by_vk_map = self._hotkey_info_by_vk_map_get(hotkey_type)
        hotkey_tuple_info = hotkey_info_by_vk_map.get(hotkey_tuple, None)
        return hotkey_tuple_info
def _hotkey_info_get_by_hotkey ( self , hotkey , hotkey_type ) : hotkey_tuple = self . _hotkey_to_tuple ( hotkey , hotkey_type = hotkey_type ) hotkey_info_by_vk_map = self . _hotkey_info_by_vk_map_get ( hotkey_type ) hotkey_tuple_info = hotkey_info_by_vk_map . get ( hotkey_tuple , None ) return hotkey_tuple_info
Get hotkey info for given hotkey.
Get hotkey info for given hotkey .
"""
        Get hotkey info for given hotkey.

        :param hotkey: Virtual key list.

        :param hotkey_type: Hotkey type.

        :param return: Hotkey info.
        """ # Get given hotkey's virtual key tuple # Get hotkey info map # Get hotkey info # Return the hotkey info
self
hotkey
Virtual key list.
Virtual key list .
hotkey_type
None
return
None