%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/orca/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/orca/__pycache__/event_manager.cpython-312.pyc |
� g f&� � � � d Z dZdZdZdZddlZ ej dd� dd lmZ dd lm Z ddl Z ddlZddlZddl mZ dd l mZ ddl mZ ddl mZ ddl mZ ddl mZ ddl mZ ddlmZ ddlmZ G d� d� Z e� Zd� Zy)z$Id$z $Revision$z$Date$zCopyright (c) 2011. Orca Team.�LGPL� N�Atspiz2.0)r )�GLib� )�debug)� focus_manager)�input_event)�orca_modifier_manager)� orca_state)�script_manager)�settings)�AXObject)�AXUtilitiesc � � e Zd Zd� Zd� Zd� Zdd�Zd� Zd� Zdd�Z d � Z d � Zd� Zd� Z d � Zd� Zd� Zed� � Zdd�Zd� Zd� Zd� Zdd�Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zy) �EventManagerc � � t j t j dd� i | _ d| _ d| _ t j d� | _ d| _ t j � | _ t j j | j � | _ d t$ _ d | _ t j t j dd� y )NzEVENT MANAGER: InitializingTFr zEvent manager initialized)r �printMessage� LEVEL_INFO�_scriptListenerCounts�_active�_paused�queue�Queue�_eventQueue�_gidleId� threading�Lock� _gidleLockr � EventListener�new�_enqueue_object_event� _listenerr �device�bypassedKey��selfs �4/usr/lib/python3/dist-packages/orca/event_manager.py�__init__zEventManager.__init__0 s� � � ���5�+�+�-J�D�Q�%'��"�������$�{�{�1�~��� �� �(�~�~�/����,�,�0�0��1K�1K�L��� � ����� ���5�+�+�-H�$�O� c � � t j t j dd� t j j � t _ dt j _ t j j | j � t j _ d| _ t j t j dd� y)z,Called when this event manager is activated.zEVENT MANAGER: ActivatingTr zEVENT MANAGER: ActivatedN) r r r r �Devicer r r# �event_count�add_key_watcher�_processKeyboardEvent�key_watcherr r% s r'