src/aoikhotkey/hotkey_manager.py
def _hotkey_to_tuple(self, hotkey, hotkey_type):
        """
        Convert given hotkey to virtual key tuple.

        :param hotkey: Virtual key list.

        :param hotkey_type: Hotkey type.

        :param return: Virtual key tuple.
        """
        # If given hotkey type is key-sequence
        if hotkey_type == HOTKEY_TYPE_V_KS:
            # Get virtual key tuple
            hotkey_tuple = tuple(hotkey)
        else:
            # Get sorted virtual key tuple
            hotkey_tuple = tuple(sorted(hotkey))

        # Return the virtual key tuple
        return hotkey_tuple

        Convert given hotkey to virtual key tuple.

        :param hotkey: Virtual key list.

        :param hotkey_type: Hotkey type.

        :param return: Virtual key tuple.
        
Convert given hotkey to virtual key tuple.
Convert given hotkey to virtual key tuple .
def _hotkey_to_tuple(self, hotkey, hotkey_type):
        if hotkey_type == HOTKEY_TYPE_V_KS:
            hotkey_tuple = tuple(hotkey)
        else:
            hotkey_tuple = tuple(sorted(hotkey))
        return hotkey_tuple
def _hotkey_to_tuple ( self , hotkey , hotkey_type ) : if hotkey_type == HOTKEY_TYPE_V_KS : hotkey_tuple = tuple ( hotkey ) else : hotkey_tuple = tuple ( sorted ( hotkey ) ) return hotkey_tuple
Convert given hotkey to virtual key tuple.
Convert given hotkey to virtual key tuple .
"""
        Convert given hotkey to virtual key tuple.

        :param hotkey: Virtual key list.

        :param hotkey_type: Hotkey type.

        :param return: Virtual key tuple.
        """ # If given hotkey type is key-sequence # Get virtual key tuple # Get sorted virtual key tuple # Return the virtual key tuple
self
hotkey
Virtual key list.
Virtual key list .
hotkey_type
None
return
Virtual key tuple.
Virtual key tuple .