| Server IP : 39.108.156.168 / Your IP : 216.73.216.104 Web Server : nginx/1.24.0 System : Linux e2.ksyuki.com 6.11.0-25-generic #25~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 17:20:50 UTC 2 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/orca/__pycache__/ |
Upload File : |
�
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'