__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

���g7x����SrSSKJr SrSrSrSrSrSSKrSSK	r	SSK
r
SS	KJrJ
r
JrJrJr SSKr\R$"S
S5 \R$"SS
5 SSKJr SSKJr SSKJr SSKJr SSKJr SSKJr SSKJr SSKJr SSKJr SSKJr SSKJr SSK J!r! \(aSSK"J#r# Sr$Sr%Sr&"SS 5r'"S!S"\'5r("S#S$\'5r)"S%S&\'5r*"S'S(5r+g))�+Provides support for handling input events.�)�annotationsz$Id$z
$Revision$z$Date$zQCopyright (c) 2005-2008 Sun Microsystems Inc.Copyright (c) 2011-2016 Igalia, S.L.�LGPLN)�Any�Callable�Optional�
TYPE_CHECKING�cast�Atspiz2.0�Gdkz3.0)r)r)�GLib�)�debug)�
focus_manager)�keybindings)�keynames)�messages)�orca_modifier_manager)�script_manager)�settings)�AXUtilities)�default�keyboard�braillezmouse:buttonc�@�\rSrSrSrS	SjrS
SjrSSjrSSjrSr	g)
�
InputEvent�Crc�R�Xl[R"5UlSUlg)zCCreates a new KEYBOARD_EVENT, BRAILLE_EVENT, or MOUSE_BUTTON_EVENT.rN)�type�time�_click_count)�self�
event_types  �2/usr/lib/python3/dist-packages/orca/input_event.py�__init__�InputEvent.__init__Fs��$�	��9�9�;��	�!"���c��UR$)z9Return the count of the number of clicks a user has made.�r!�r"s r$�get_click_count�InputEvent.get_click_countMs��� � � r'c��Xlg)z:Updates the count of the number of clicks a user has made.Nr))r"�counts  r$�set_click_count�InputEvent.set_click_countRs
��"�r'c��UR$)�:Returns a single-line string representation of this event.)rr*s r$�as_single_line_string� InputEvent.as_single_line_stringWs���)�)��r')r!r rN)r#�str�return�None)r6�int)r.r8r6r7�r6r5)
�__name__�
__module__�__qualname__�__firstlineno__�__doc__r%r+r/r3�__static_attributes__�r'r$rrCs��5�#�!�
"�
r'rc�^�\rSrSrSrS(U4SjjrS)SjrS*SjrS*SjrS+Sjr	S+Sjr
S+S	jrS+S
jrS+Sjr
S+SjrS+S
jrS+SjrS+SjrS+SjrS+SjrS+SjrS+SjrS+SjrS+SjrS+SjrS+SjrS,SjrS*SjrS*SjrS-SjrS.SjrS-SjrS/Sjr S0Sjr!S1S jr"S2S!jr#S2S"jr$S+S#jr%S+S$jr&S3S%jr'S+S&jr(S'r)U=r*$)4�
KeyboardEvent�\z.Provides support for handling keyboard events.c�>�[TU][5 X0lU(a[R
RO[R
RUlX l	XPl
U[RR-UlUS[RR--(a0U=RS[RR--sl[R "U5Ul["R""5UlSUlSUlSUlSUlSUlSUlUR R3S5(a6URS[RR--(aSUl[4R6"5nUR95(aUR;U5 UR=5(a$U=R[>R@-slgg)a0Creates a new InputEvent of type KEYBOARD_EVENT.

Arguments:
- pressed: True if this is a key press, False for a release.
- keycode: the hardware keycode.
- keysym: the translated keysym.
- modifiers: a bitflag giving the active modifiers.
- text: the text that would be inserted if this key is pressed.
rNF�KPT)!�superr%�KEYBOARD_EVENT�idr�	EventType�KEY_PRESSED_EVENT�KEY_RELEASED_EVENTr�hw_code�_textr�ModifierType�
MODIFIER_MASK�	modifiers�NUMLOCK�keyval_namer �	timestamp�_script�_window�_obj�_handler�	_consumer�_is_kp_with_numlock�
startswithr�get_manager�is_orca_modifier�set_pressed_state�get_pressed_stater�ORCA_MODIFIER_MASK)r"�pressed�keycode�keysymrP�text�modifier_manager�	__class__s       �r$r%�KeyboardEvent.__init__asp���$	����(���18�E�O�O�-�-�e�o�o�>`�>`�	
�	�$���
�'�#�*:�*:�*H�*H�H�����U�/�/�7�7�7�8��N�N�q�E�$6�$6�$>�$>�>�?�N� #���� 7��� $�	�	����15���37���04��	�59��
�8<���).�� �
���&�&�t�,�,��~�~��e�&8�&8�&@�&@�!@�A�+/��(�0�<�<�>��� � �"�"��.�.�w�7��-�-�/�/��N�N�k�<�<�<�N�0r'c���[U[5(dgURUR:Xa3URUR:XaURUR:H$g�NF)�
isinstancerBrrLrS�r"�others  r$�__eq__�KeyboardEvent.__eq__�sG���%��/�/���9�9��
�
�"�t�|�|�u�}�}�'D��>�>�U�_�_�4�4�r'c���UR5(a
S=n=n=n=pEOW[UR5n[UR5n[UR5nUR
nURnSURRR5S3SUS3-SUS3-SUS3-SUS3-S	US3-S
URS3-SUR3-$)N�*zKEYBOARD_EVENT:  type=�
z                 id=z                 hw_code=z                 modifiers=z                 text='z'
z                 keyval_name='z                 timestamp=z                 clickCount=)�_should_obscurer5rHrLrPrRrMr�
value_name�upperrSr!)r"�keyidrLrPrcrRs      r$�__str__�KeyboardEvent.__str__�s�����!�!�?B�B�E�B�G�B�i�B�$������L�E��$�,�,�'�G��D�N�N�+�I��*�*�K��:�:�D�'��	�	�(<�(<�(B�(B�(D�'E�R�H�%�e�W�B�/�0�*�7�)�2�6�7�-�Y�K�r�:�;�)���c�2�	3�
0��}�C�@�A�-�T�^�^�,<�B�?�
@�.�d�.?�.?�-@�A�B�	Br'c��UR5(agSURSURSURSURR
3$)r2�
(obscured)�'�' (z) mods: � )rqrRrLrPr�
value_nickr*s r$r3�#KeyboardEvent.as_single_line_string�sW�����!�!���� � �!��T�\�\�N�(�4�>�>�:J�!��y�y�#�#�$�
&�	
r'c�J�[R"UR5(dgUR5(dgUR[
R-(dDUR[
R-(d"UR[
R-(agg)z<Returns True if we should obscure the details of this event.FT)	r�is_password_textrV�is_printable_keyrPr�CTRL_MODIFIER_MASK�ALT_MODIFIER_MASKr_r*s r$rq�KeyboardEvent._should_obscure�sj���+�+�D�I�I�6�6���$�$�&�&���>�>�K�:�:�:��n�n�{�<�<�<��n�n�{�=�=�=��r'c���[R[R[R[R[R
[R/nURU;$)z(Return True if this is a navigation key.)r�KEY_Down�KEY_End�KEY_Home�KEY_Left�	KEY_Right�KEY_UprH�r"�keyss  r$�is_navigation_key�KeyboardEvent.is_navigation_key�sE��
�L�L��K�K��L�L��L�L��M�M��J�J�

���w�w�$��r'c��[R[R[R[R[R
[R[R/nURU;$)z%Return True if this is an action key.)	r�
KEY_BackSpace�
KEY_Delete�
KEY_Escape�
KEY_Page_Down�KEY_Page_Up�
KEY_Return�KEY_TabrHr�s  r$�
is_action_key�KeyboardEvent.is_action_key�sP��
����N�N��N�N�����O�O��N�N��K�K�
���w�w�$��r'c�b�UR5n[U5S:XdgUR5$)z)Return True if this is an alphabetic key.rF)�get_key_name�len�isalpha�r"�names  r$�is_alphabetic_key�KeyboardEvent.is_alphabetic_key�s,��� � �"���4�y�A�~���|�|�~�r'c��/[RP[RP[RP[RP[R
P[RP[RP[RP[RP[RP[RP[RP[RP[RP[RP[R P[R"P[R$P[R&P[R(P[R*P[R,P[R.P[R0P[R2P[R4P[R6P[R8P[R:P[R<P[R>P[R@P[RBP[RDP[RFP[RHP[RJP[RLP[RNP[RPP[RRP[RTP[RVP[RXP[RZP[R\P[R^P[R`P[RbP[RdP[RfP[RhPnURjU;$)z5Return True if this is a non-spacing diacritical key.)6r�
KEY_dead_A�
KEY_dead_a�KEY_dead_abovecomma�KEY_dead_abovedot�KEY_dead_abovereversedcomma�KEY_dead_abovering�KEY_dead_aboveverticalline�KEY_dead_acute�KEY_dead_belowbreve�KEY_dead_belowcircumflex�KEY_dead_belowcomma�KEY_dead_belowdiaeresis�KEY_dead_belowdot�KEY_dead_belowmacron�KEY_dead_belowring�KEY_dead_belowtilde�KEY_dead_belowverticalline�KEY_dead_breve�KEY_dead_capital_schwa�KEY_dead_caron�KEY_dead_cedilla�KEY_dead_circumflex�KEY_dead_currency�KEY_dead_dasia�KEY_dead_diaeresis�KEY_dead_doubleacute�KEY_dead_doublegrave�
KEY_dead_E�
KEY_dead_e�KEY_dead_grave�KEY_dead_greek�
KEY_dead_hook�
KEY_dead_horn�
KEY_dead_I�
KEY_dead_i�KEY_dead_invertedbreve�
KEY_dead_iota�KEY_dead_longsolidusoverlay�KEY_dead_lowline�KEY_dead_macron�
KEY_dead_O�
KEY_dead_o�KEY_dead_ogonek�KEY_dead_perispomeni�KEY_dead_psili�KEY_dead_semivoiced_sound�KEY_dead_small_schwa�KEY_dead_stroke�KEY_dead_tilde�
KEY_dead_U�
KEY_dead_u�KEY_dead_voiced_soundrHr�s  r$�is_diacritical_key� KeyboardEvent.is_diacritical_key�sl��5
��N�N�5
��N�N�5
�
�#�#�5
�
�!�!�	5
�

�+�+�5
�
�"�"�
5
�
�*�*�5
�
���5
�
�#�#�5
�
�(�(�5
�
�#�#�5
�
�'�'�5
�
�!�!�5
�
�$�$�5
�
�"�"�5
� 
�#�#�!5
�"
�*�*�#5
�$
���%5
�&
�&�&�'5
�(
���)5
�*
� � �+5
�,
�#�#�-5
�.
�!�!�/5
�0
���15
�2
�"�"�35
�4
�$�$�55
�6
�$�$�75
�8
�N�N�95
�:
�N�N�;5
�<
���=5
�>
���?5
�@
���A5
�B
���C5
�D
�N�N�E5
�F
�N�N�G5
�H
�&�&�I5
�J
���K5
�L
�+�+�M5
�N
� � �O5
�P
���Q5
�R
�N�N�S5
�T
�N�N�U5
�V
���W5
�X
�$�$�Y5
�Z
���[5
�\
�)�)�]5
�^
�$�$�_5
�`
���a5
�b
���c5
�d
�N�N�e5
�f
�N�N�g5
�h
�%�%�i5
��l�w�w�$��r'c��[R[R[R[R[R
[R[R[R[R[R[R[R/nURU;$)z&Return True if this is a function key.)r�KEY_F1�KEY_F2�KEY_F3�KEY_F4�KEY_F5�KEY_F6�KEY_F7�KEY_F8�KEY_F9�KEY_F10�KEY_F11�KEY_F12rHr�s  r$�is_function_key�KeyboardEvent.is_function_key,so��
�J�J��J�J��J�J��J�J��J�J��J�J��J�J��J�J��J�J��K�K��K�K��K�K�

���w�w�$��r'c���UR5(aURS:H$[R[R[R
[R/nURU;$)z%Return True if this is a locking key.�)r\r!r�
KEY_Caps_Lock�KEY_Num_Lock�KEY_Scroll_Lock�KEY_Shift_LockrHr�s  r$�is_locking_key�KeyboardEvent.is_locking_key?sa��� � �"�"��$�$��)�)�
������������	
���w�w�$��r'c	�`�[R[R[R[R[R
[R[R[R[R/	nURU;=(d UR5$)z&Return True if this is a modifier key.)r�	KEY_Alt_L�	KEY_Alt_R�
KEY_Control_L�
KEY_Control_R�
KEY_Meta_L�
KEY_Meta_R�KEY_Shift_L�KEY_Shift_R�KEY_ISO_Level3_ShiftrHr\r�s  r$�is_modifier_key�KeyboardEvent.is_modifier_keyMsn��
�M�M��M�M��������N�N��N�N��O�O��O�O��$�$�

���w�w�$��9�$�"7�"7�"9�9r'c
�P�[R[R[R[R[R
[R[R[R[R[R/
nURU;$)z%Return True if this is a numeric key.)r�KEY_0�KEY_1�KEY_2�KEY_3�KEY_4�KEY_5�KEY_6�KEY_7�KEY_8�KEY_9rHr�s  r$�is_numeric_key�KeyboardEvent.is_numeric_key]sa��
�I�I��I�I��I�I��I�I��I�I��I�I��I�I��I�I��I�I��I�I�
���w�w�$��r'c�&�UR[R:XaFUR[R
-(a$[R"5RS5$[R"5RUR5$)z-Return True if this is the Orca modifier key.�	KP_Insert)
rHr�KEY_KP_0rPr�SHIFT_MODIFIER_MASKrr[r\rRr*s r$r\�KeyboardEvent.is_orca_modifierns_���7�7�c�l�l�"�t�~�~��8W�8W�'W�(�4�4�6�G�G��T�T�$�0�0�2�C�C�D�DT�DT�U�Ur'c�z�UR5(ag[UR[R-5$)z)Return True if this key is Orca modified.F)r\�boolrPrr_r*s r$�is_orca_modified�KeyboardEvent.is_orca_modifiedvs0��� � �"�"���D�N�N�[�%C�%C�C�D�Dr'c��UR$)z5Return True if this is a key pad key with numlock on.)rYr*s r$�is_keypad_key_with_numlock_on�+KeyboardEvent.is_keypad_key_with_numlock_on~s���'�'�'r'c�b�UR5n[U5S:XdgUR5$)z'Return True if this is a printable key.rF)r�r��isprintabler�s  r$r��KeyboardEvent.is_printable_key�s/��� � �"���4�y�A�~�����!�!r'c�P�UR[RR:H$)z"Returns True if the key is pressed)rrrIrJr*s r$�is_pressed_key�KeyboardEvent.is_pressed_key�s���y�y�E�O�O�=�=�=�=r'c�D�/[RP[RP[RP[RP[R
P[RP[RP[RP[RP[RP[RP[RP[RP[RP[RP[R P[R"P[R$P[R&P[R(P[R*P[R,P[R.P[R0P[R2P[R4P[R6P[R8P[R:P[R<P[R>P[R@P[RBP[RDP[RFP[RHP[RJP[RLP[RNP[RPP[RRP[RTP[RVP[RXP[RZP[R\P[R^P[R`P[RbP[RdP[RfP[RhP[RjP[RlP[RnP[RpP[RrPnURtU;$)z)Return True if this is a punctuation key.);r�	KEY_acute�
KEY_ampersand�KEY_apostrophe�KEY_asciicircum�KEY_asciitilde�KEY_asterisk�KEY_at�
KEY_backslash�KEY_bar�
KEY_braceleft�KEY_braceright�KEY_bracketleft�KEY_bracketright�
KEY_brokenbar�KEY_cedilla�KEY_cent�	KEY_colon�	KEY_comma�
KEY_copyright�KEY_currency�
KEY_degree�
KEY_diaeresis�
KEY_dollar�KEY_EuroSign�	KEY_equal�
KEY_exclam�KEY_exclamdown�	KEY_grave�KEY_greater�KEY_guillemotleft�KEY_guillemotright�
KEY_hyphen�KEY_less�
KEY_macron�	KEY_minus�KEY_notsign�KEY_numbersign�
KEY_paragraph�
KEY_parenleft�KEY_parenright�KEY_percent�
KEY_period�KEY_periodcentered�KEY_plus�
KEY_plusminus�KEY_question�KEY_questiondown�KEY_quotedbl�
KEY_quoteleft�KEY_quoteright�KEY_registered�KEY_section�
KEY_semicolon�	KEY_slash�KEY_sterling�KEY_underscore�KEY_yenrHr�s  r$�is_punctuation_key� KeyboardEvent.is_punctuation_key�s���:
��M�M�:
����:
�
���:
�
���	:
�

���:
�
���
:
�
�J�J�:
�
���:
�
�K�K�:
�
���:
�
���:
�
���:
�
� � �:
�
���:
�
�O�O�:
� 
�L�L�!:
�"
�M�M�#:
�$
�M�M�%:
�&
���':
�(
���):
�*
�N�N�+:
�,
���-:
�.
�N�N�/:
�0
���1:
�2
�M�M�3:
�4
�N�N�5:
�6
���7:
�8
�M�M�9:
�:
�O�O�;:
�<
�!�!�=:
�>
�"�"�?:
�@
�N�N�A:
�B
�L�L�C:
�D
�N�N�E:
�F
�M�M�G:
�H
�O�O�I:
�J
���K:
�L
���M:
�N
���O:
�P
���Q:
�R
�O�O�S:
�T
�N�N�U:
�V
�"�"�W:
�X
�L�L�Y:
�Z
���[:
�\
���]:
�^
� � �_:
�`
���a:
�b
���c:
�d
���e:
�f
���g:
�h
�O�O�i:
�j
���k:
�l
�M�M�m:
�n
���o:
�p
���q:
�r
�K�K�s:
��v�w�w�$��r'c�<�UR[R:H$)z%Return True if this is the space key.)rHr�	KEY_spacer*s r$�is_space�KeyboardEvent.is_space�s���w�w�#�-�-�'�'r'c�d�[R(d)Sn[R"[RUS5 gUR5(d)Sn[R"[RUS5 gUR[R-(a)Sn[R"[RUS5 g[R"UR5(a)Sn[R"[RUS5 g[R"UR5(d%[R"UR5(a)Sn[R"[RUS5 gSn[R"[RUS5 g)	zJReturns True if the script will echo this event as part of character echo.z9KEYBOARD EVENT: Not character echoable, setting disabled.TFz=KEYBOARD EVENT: Not character echoable, is not printable key.z<KEYBOARD EVENT: Not character echoable due to modifier mask.z9KEYBOARD EVENT: Not character echoable, is password text.z<KEYBOARD EVENT: Character echoable, is editable or terminal.z:KEYBOARD EVENT: Not character echoable, no reason to echo.)r�enableEchoByCharacterr�
print_message�
LEVEL_INFOr�rPr�ORCA_CTRL_MODIFIER_MASKrrrV�is_editable�is_terminal�r"�msgs  r$�is_character_echoable�#KeyboardEvent.is_character_echoable�s.���-�-�M�C����� 0� 0�#�t�<���$�$�&�&�Q�C����� 0� 0�#�t�<���>�>�K�?�?�?�P�C����� 0� 0�#�t�<���'�'��	�	�2�2�M�C����� 0� 0�#�t�<���"�"�4�9�9�-�-��1H�1H����1S�1S�P�C����� 0� 0�#�t�<��J��
���E�,�,�c�4�8�r'c��UR5(dgUR[R:Xa[R
RnOsUR[R:Xa[R
RnO:UR[R:Xa[R
RnOgURSU--(+$)znReturns True if the event locked a locking key, False if the event unlocked it, and None
if not a locking key.Nr)r�rHrr�rrN�	SHIFTLOCKr��SHIFTr�rQrP)r"�mods  r$�get_locking_state�KeyboardEvent.get_locking_state�s����"�"�$�$���7�7�c�'�'�'��$�$�.�.�C�
�W�W��*�*�
*��$�$�*�*�C�
�W�W��(�(�
(��$�$�,�,�C���>�>�Q�#�X�.�.�.r'c�x�UR5nUcgU(d[R$[R$)z0Returns the string reflecting the locking state.�)rir�LOCKING_KEY_STATE_OFF�LOCKING_KEY_STATE_ON)r"�lockeds  r$�get_locking_state_string�&KeyboardEvent.get_locking_state_string	s5���'�'�)���>����1�1�1��,�,�,r'c��URR5(a+URR5(aUR$[R"UR
5nUbU$[R"UR5nU(a"[U5nUR5(aU$UR
$)z5Returns the string to be used for presenting the key.)
rM�striprrr�rRr�keyval_to_unicoderH�chr)r"r��unicode_codepoint�chars    r$r��KeyboardEvent.get_key_names����:�:�����$�*�*�"8�"8�":�":��:�:���$�$�T�%5�%5�6�����K��1�1�$�'�'�:����(�)�D����!�!������r'c��UR$)zAReturns the object believed to be associated with this key event.)rVr*s r$�
get_object�KeyboardEvent.get_object's���y�y�r'c���[R"[R"5SR5nU(aUR	S5(d[S5eXlg)z>Sets the object believed to be associated with this key event.r�input_event�+Unauthorized setter of input event propertyN)�inspect�
getmodulename�stack�filenamerZ�PermissionErrorrV)r"�obj�module_names   r$�
set_object�KeyboardEvent.set_object,sI���+�+�G�M�M�O�A�,>�,G�,G�H���� 6� 6�}� E� E�!�"O�P�P��	r'c��UR$)zAReturns the window believed to be associated with this key event.)rUr*s r$�
get_window�KeyboardEvent.get_window5����|�|�r'c���[R"[R"5SR5nU(aUR	S5(d[S5eXlg)z>Sets the window believed to be associated with this key event.rr}r~N)rr�r�r�rZr�rU)r"�windowr�s   r$�
set_window�KeyboardEvent.set_window:�I���+�+�G�M�M�O�A�,>�,G�,G�H���� 6� 6�}� E� E�!�"O�P�P��r'c��UR$)zAReturns the script believed to be associated with this key event.)rTr*s r$�
get_script�KeyboardEvent.get_scriptCr�r'c���[R"[R"5SR5nU(aUR	S5(d[S5eXlg)z>Sets the script believed to be associated with this key event.rr}r~N)rr�r�r�rZr�rT)r"�scriptr�s   r$�
set_script�KeyboardEvent.set_scriptHr�r'c��UR$)z3Returns the handler associated with this key event.)rWr*s r$�get_handler�KeyboardEvent.get_handlerQs���}�}�r'c�V�[RRURR5nU(d [RRS5nUcgUR
U5nU$![
a SnNMf=f![
a SnN8f=f![
a SnU$f=f)Nr)r�keyBindingsMap�getrTr;�	Exception�get_input_handler)r"�bindings�handlers   r$�_get_user_handler�KeyboardEvent._get_user_handlerVs���	��.�.�2�2�4�<�<�3J�3J�K�H��
 �#�2�2�6�6�y�A�����	��0�0��6�G����!�	��H�	��
�
 ���
 ���	��G���	�s4�3A4�B�!B�4B�B�B�B�B(�'B(c��UR(dgUR5(aURR5 URR5R	5(agURRU5$rh)rTr�presentationInterrupt�get_learn_mode_presenter�	is_active�presentKeyboardEventr*s r$�_present�KeyboardEvent._presentls_���|�|����� � ��L�L�.�.�0��<�<�0�0�2�<�<�>�>���|�|�0�0��6�6r'c���UR5(d&[R"UR5(dgUR	5(a6[
Rc[
R(+$[
R$[
R(dgUR5(a[
R$UR5(a[
R$UR5(a[
R$UR5(a[
R $UR#5(a6[
R$c[
R(+$[
R$$UR'5(a'[
R(=(d [
R*$UR-5(a'[
R.=(d [
R*$UR15(a'[
R2=(d [
R*$UR55(a'[
R6=(d [
R*$g)z2Returns True if this input event should be echoed.F)rrr`rVr�r�presentLockingKeys�onlySpeakDisplayedText�
enableKeyEchor��enableNavigationKeysr��enableActionKeysr��enableModifierKeysr��enableFunctionKeysr��enableDiacriticalKeysr��enableAlphabeticKeysr[r�enableNumericKeysrT�enablePunctuationKeysrX�enableSpacer*s r$�should_echo�KeyboardEvent.should_echozs����#�#�%�%��)@�)@����)K�)K����� � ��*�*�2�#�:�:�:�:��.�.�.��%�%���!�!�#�#��0�0�0�������,�,�,����!�!��.�.�.����!�!��.�.�.��"�"�$�$��-�-�5�#�:�:�:�:��1�1�1��!�!�#�#��0�0�R�H�4R�4R�R���� � ��-�-�O��1O�1O�O��"�"�$�$��1�1�S�X�5S�5S�S��=�=�?�?��'�'�I�8�+I�+I�I�r'c��[R"5nUR5(dSURSURS3nOSn[R
"[RSU35 SURRR5SUS3n[R
"[RUS	5 S
UR/n[R"[RUS5 SUR/n[R"[RUS5 S
UR/n[R"[RUS5 UR(GaUR5=(d% URRR!U5UlS[%[&UR"5/n[R"[RUS5 URR)5R+5(akURR)5R,UlS[%[&UR.5/n[R"[RUS5 UR15(a4UR2S:Xa$[4R6"5R9U5 UR;5 UR=5(ayUR.(dGUR"(aWUR"R>b@UR"RA5(a![BRD"SURF5 S[R"5U-
S3n[R
"[RUS5 SURRR5SUS3n[R
"[RUS	5 g)zProcesses this input event.ryrz�)rxrpz
vvvvv PROCESS �: � vvvvvFzSCRIPT:TzWINDOW:z	LOCATION:zHANDLER:z	CONSUMER:r�Nr�TOTAL PROCESSING TIME: �.4fz^^^^^ PROCESS � ^^^^^
)$r rqrRrLrr\r]rrrrsrT�print_tokensrUrVr��key_bindingsr�rWr
rr�r��handle_eventrXr\r!rr[�toggle_modifierr�r�function�
is_enabledr
�timeout_add�_consume)r"�
start_time�datarb�tokenss     r$�process�KeyboardEvent.process�s����Y�Y�[�
��#�#�%�%��t�'�'�(��D�L�L�>��;�D��D�
���E�,�,��4�&�k�:� ����!5�!5�!;�!;�!=� >�b���f�M��
���E�,�,�c�5�9��T�\�\�*��
���5�+�+�V�T�:��T�\�\�*��
���5�+�+�V�T�:��t�y�y�)��
���5�+�+�V�T�:��<�<�<� �2�2�4�E��<�<�,�,�>�>�t�D�
�M� �$�s�D�M�M�":�;�F����u�/�/���>��|�|�4�4�6�@�@�B�B�!%���!F�!F�!H�!U�!U���%�t�C����'@�A���"�"�5�#3�#3�V�T�B�� � �"�"�t�'8�'8�A�'=�!�-�-�/�?�?��E��
�
����� � �d�n�n��}�}����!7�!7�!C��}�}�'�'�)�)����Q��
�
�.�'��	�	��j�(@��'E�F��
���E�,�,�c�4�8��t�y�y�3�3�9�9�;�<�B�t�f�H�M��
���E�,�,�c�5�9r'c��[R"5nSURSURS3nSURRR5SUS3n[R"[RUS5 UR(aQSURR3n[R"[RUS	5 URU5 O�UR(a�URRb{URR5(a\S
UR3n[R"[RUS	5 URRURU5 O(Sn[R"[RUS	5 S[R"5U-
S
3n[R"[RUS	5 SURRR5SUS3n[R"[RUS5 g)zMConsumes this input event after a timeout. Returns False to stop the timeout.ryrzr�z
vvvvv CONSUME r�r�FzKEYBOARD EVENT: Consumer is TzKEYBOARD EVENT: Handler is z.KEYBOARD EVENT: No enabled handler or consumerr�r�z^^^^^ CONSUME r�)r rRrLrrrrsrr\r]rXr:rWr�r�rT)r"r�r�rbs    r$r��KeyboardEvent._consume�s����Y�Y�[�
��4�#�#�$�C����~�Q�7�� ����!5�!5�!;�!;�!=� >�b���f�M��
���E�,�,�c�5�9��>�>�0����1H�1H�0I�J�C����� 0� 0�#�t�<��N�N�4� �
�]�]�t�}�}�5�5�A�d�m�m�F^�F^�F`�F`�/��
�
��?�C����� 0� 0�#�t�<��M�M�"�"�4�<�<��6�B�C����� 0� 0�#�t�<�'��	�	��j�(@��'E�F��
���E�,�,�c�4�8��t�y�y�3�3�9�9�;�<�B�t�f�H�M��
���E�,�,�c�5�9�r')
rXrWrYrVrTrMrUrLrHrRrPrSr)r`rrar8rbr8rPr8rcr5r6r7�rk�objectr6rr9�r6r)r6zOptional[bool])r6�Optional[Atspi.Accessible])r�r�r6r7)r�r�r6r7)r6�Optional[default.Script])r�r�r6r7�r6zOptional[InputEventHandler])r6r7)+r:r;r<r=r>r%rlrur3rqr�r�r�r�r�r�r�rr\rrr�rrTrXrcrirpr�rzr�r�r�r�r�r�r�r�r�r�r�r?�
__classcell__�res@r$rBrB\s���8�0=��0=��0=��	0=�
�0=��
0=�
�0=�j�B�&	
�� ���9�v�&�:� �"V�E�(�
"�>�
>�@(�
�B/�$
-� �$�
��
��
��
�,
7�#�N0:�d�r'rBc�P^�\rSrSrSrS	U4SjjrS
SjrSSjrSrSr	Sr
U=r$)�BrailleEventi�z-Provides support for handling braille events.c�>�[TU][5 Xl[R
"5R
5Ulg�N)rFr%�
BRAILLE_EVENT�eventrr[�get_active_scriptrT�r"r�res  �r$r%�BrailleEvent.__init__�s.���
����'� �
�1?�1K�1K�1M�1_�1_�1a��r'c�T�URR5SUR3$)Nr{)rrsr�r*s r$ru�BrailleEvent.__str__�s#���)�)�/�/�#�$�A�d�j�j�\�2�2r'c��URceUR
SnSn[RnURRU;aX@RRnOURS5nU(a9X#;a4X2nSUS3U/n[R"[RUS5 U$URRRU5nSUS3U/n[R"[RUS5 U$![a- SU/n[R"[RUS5 gf=f)	z/Returns the handler associated with this event.Nz)BRAILLE EVENT: No active script found forT�commandrz(BRAILLE EVENT: User handler for command z isz#BRAILLE EVENT: Handler for command )rT�AssertionErrorrr�r]r�r�brailleBindingsMapr�r��braille_bindings)r"r�r��
user_bindings�user_bindings_mapr�s      r$r��BrailleEvent.get_handler�s-��	��<�<�+�+�+��z�z�)�,��(,�
�"*�"=�"=���<�<��� 1�1�-�l�l�.?�.?�@�M�-�1�1�)�<�M��W�5�)6�)?�G�@��	��M�w�W�F����u�/�/���>��N��,�,�/�/�3�3�G�<��7��y��D�g�N��
���5�+�+�V�T�:����-�	�A�4�H�F����u�/�/���>��	�s�D�4E�Ec��SUS/n[R"[RUS5 [R"5nUR	5nS[R"5U-
S3n[R
"[RUS5 SUS/n[R"[RUS5 U$)zProcesses this event.z
vvvvv PROCESS�vvvvvFr�r�z
^^^^^ PROCESSz^^^^^)rr�r]r �_processr\)r"r�r��resultrbs     r$r��BrailleEvent.processs���$�T�7�3��
���5�+�+�V�U�;��Y�Y�[�
������'��	�	��j�(@��'E�F��
���E�,�,�c�5�9�!�4��1��
���5�+�+�V�U�;��
r'c���UR5nU(d�URR5R5(a+SU/n[R
"[RUS5 gSU/n[R
"[RUS5 gUR(aFSU/n[R
"[RUS5 URURU5 g)Nz+BRAILLE EVENT: Learn mode presenter handlesTz#BRAILLE EVENT: No handler found forFzBRAILLE EVENT: Handler is:)r�rTr�r�rr�r]r�)r"r�r�s   r$r��BrailleEvent._process&s����"�"�$����|�|�4�4�6�@�@�B�B�G��N���"�"�5�#3�#3�V�T�B��;�T�B�F����u�/�/���>�����2�G�<�F����u�/�/���>����T�\�\�4�0�r')rTr�)r��dictr6r7r9r�)r:r;r<r=r>r%rur�r�r�r?r�r�s@r$r�r��s%���7�b�
3��:
��r'r�c��^�\rSrSrSr\RR5r\RR\5r
\
R5rU4SjrSrSrU=r$!\
a SrNf=f)�MouseButtonEventi9z2Provides support for handling mouse button events.Nc��>�[TU][5 URUlUR
UlURRS5Ul	UR[S5SUl[R"5R5Ul[ R"5R#5UlSUlUR(aUR)5 UR(dg[*R,"UR$5(d[*R."5UlUR$(dg[*R0"UR$5Ulg)N�pz
mouse:button:���)rFr%�MOUSE_BUTTON_EVENT�detail1�x�detail2�yr�endswithr`r��buttonrr[r�rTr�get_active_windowr��app�_validate_coordinatesr�can_be_active_window�find_active_window�get_applicationr�s  �r$r%�MouseButtonEvent.__init__Cs����
���+�,������������z�z�*�*�3�/����j�j��_�!5�b�9���%�1�1�3�E�E�G���#�/�/�1�C�C�E�������<�<��&�&�(��|�|���/�/����<�<�%�8�8�:�D�K��{�{���.�.�t�{�{�;��r'c	��UR(dgURR5SSup[R"URU-
S-UR
U-
S--5S:agSURSUR
SUSUS3	n[R"[RUS5 XsUlUlg)	Nrr��zWARNING: Event coordinates (z, z) may be bogus. Updating to (r�T)	�_pointer�get_position�math�sqrtr�r�rr\r])r"r�r�rbs    r$r�&MouseButtonEvent._validate_coordinates[s����}�}���}�}�)�)�+�A�B�/����9�9�d�f�f�q�j�1�_�����
�Q��6�7�"�<��+�4�6�6�(�"�T�V�V�H�=��3�b���1�
&�	�	���E�,�,�c�4�8������r')rTrr�r`r�r�r�)r:r;r<r=r>r�Display�get_default�display�get_default_seat�seat�get_pointerrr�r%rr?r�r�s@r$r�r�9sd���<���+�+�)�)�+���{�{�+�+�G�4���#�#�%��<�0
�
��7�����s�AA�A*�)A*r�c�d�\rSrSrSrS
SSjjrSSjrS
SjrSSjrSSjr	Sr
g	)�InputEventHandlerijzA handler for an input event.c�4�XlX lX0lX@lgr�)r��description�learn_mode_enabled�_enabled)r"r�rr�enableds     r$r%�InputEventHandler.__init__ms��.6�
� +��(:��%�
r'c�`�[U[5(dgURUR:H$rh)rirr�rjs  r$rl�InputEventHandler.__eq__ys&���%�!2�3�3���}�}����.�.r'c�:�URSURS3$)Nz (enabled: r�)rrr*s r$ru�InputEventHandler.__str__~s ���"�"�#�;�t�}�}�o�Q�?�?r'c��SURSUR3n[R"[RUS5 UR$)z(Returns True if this handler is enabled.zINPUT EVENT HANDLER: z
 is enabled: T)rrrr\r]ras  r$r��InputEventHandler.is_enabled�sC��&�d�&6�&6�%7�}�T�]�]�O�T��
���E�,�,�c�4�8��}�}�r'c��Xlg)z#Sets enabled state of this handler.N)r)r"rs  r$�set_enabled�InputEventHandler.set_enabled�s	�� �
r')rrr�rN)TT)
r�zCallable[..., bool]rr5rrrrr6r7r�r9r�)rrr6r7)r:r;r<r=r>r%rlrur�r"r?r@r'r$rrjsW��'�$(��
&�%�
&��
&�!�	
&�
�
&�
�
&�/�
@�� r'r),r>�
__future__r�__id__�__version__�__date__�
__copyright__�__license__rr
r �typingrrrr	r
�gi�require_version�
gi.repositoryrrr
rlrrrrrrrr�ax_utilitiesr�scriptsrrGr�r�rrBr�r�rr@r'r$�<module>r0s���42�#�������7�
������?�?�	����7�E�"����5�%� ���������#���%�� ����
�#����2Q
�J�Q
�fH�:�H�T/�z�/�b! �! r'

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 276 B 0644
acss.cpython-313.pyc File 4.37 KB 0644
action_presenter.cpython-313.pyc File 12.53 KB 0644
ax_collection.cpython-313.pyc File 6.06 KB 0644
ax_component.cpython-313.pyc File 22.4 KB 0644
ax_document.cpython-313.pyc File 13.2 KB 0644
ax_event_synthesizer.cpython-313.pyc File 22.37 KB 0644
ax_hypertext.cpython-313.pyc File 11.3 KB 0644
ax_object.cpython-313.pyc File 63.85 KB 0644
ax_selection.cpython-313.pyc File 5.26 KB 0644
ax_table.cpython-313.pyc File 62.75 KB 0644
ax_text.cpython-313.pyc File 58.92 KB 0644
ax_utilities.cpython-313.pyc File 37.16 KB 0644
ax_utilities_application.cpython-313.pyc File 9.14 KB 0644
ax_utilities_collection.cpython-313.pyc File 125.47 KB 0644
ax_utilities_debugging.cpython-313.pyc File 15.44 KB 0644
ax_utilities_event.cpython-313.pyc File 41.86 KB 0644
ax_utilities_relation.cpython-313.pyc File 21.3 KB 0644
ax_utilities_role.cpython-313.pyc File 139.59 KB 0644
ax_utilities_state.cpython-313.pyc File 19.65 KB 0644
ax_value.cpython-313.pyc File 8.8 KB 0644
bookmarks.cpython-313.pyc File 16.09 KB 0644
braille.cpython-313.pyc File 82.01 KB 0644
braille_generator.cpython-313.pyc File 71.06 KB 0644
braille_rolenames.cpython-313.pyc File 8.73 KB 0644
brlmon.cpython-313.pyc File 9.02 KB 0644
brltablenames.cpython-313.pyc File 2.46 KB 0644
bypass_mode_manager.cpython-313.pyc File 5.79 KB 0644
caret_navigation.cpython-313.pyc File 22.86 KB 0644
chat.cpython-313.pyc File 33.96 KB 0644
clipboard.cpython-313.pyc File 27.81 KB 0644
cmdnames.cpython-313.pyc File 18.85 KB 0644
colornames.cpython-313.pyc File 11.83 KB 0644
debug.cpython-313.pyc File 4.76 KB 0644
debugging_tools_manager.cpython-313.pyc File 13.8 KB 0644
event_manager.cpython-313.pyc File 43.89 KB 0644
flat_review.cpython-313.pyc File 59.1 KB 0644
flat_review_finder.cpython-313.pyc File 29.77 KB 0644
flat_review_presenter.cpython-313.pyc File 59.01 KB 0644
focus_manager.cpython-313.pyc File 14.24 KB 0644
generator.cpython-313.pyc File 95.62 KB 0644
guilabels.cpython-313.pyc File 12.43 KB 0644
highlighter.cpython-313.pyc File 9.86 KB 0644
input_event.cpython-313.pyc File 45.78 KB 0644
input_event_manager.cpython-313.pyc File 48.43 KB 0644
keybindings.cpython-313.pyc File 27.27 KB 0644
keynames.cpython-313.pyc File 4.73 KB 0644
label_inference.cpython-313.pyc File 25.15 KB 0644
learn_mode_presenter.cpython-313.pyc File 19.89 KB 0644
liveregions.cpython-313.pyc File 31.34 KB 0644
mathsymbols.cpython-313.pyc File 64.53 KB 0644
messages.cpython-313.pyc File 41.8 KB 0644
mouse_review.cpython-313.pyc File 33.59 KB 0644
notification_presenter.cpython-313.pyc File 18.47 KB 0644
object_navigator.cpython-313.pyc File 15.8 KB 0644
object_properties.cpython-313.pyc File 8.27 KB 0644
orca.cpython-313.pyc File 13.43 KB 0644
orca_gtkbuilder.cpython-313.pyc File 5.53 KB 0644
orca_gui_navlist.cpython-313.pyc File 10.45 KB 0644
orca_gui_prefs.cpython-313.pyc File 166.31 KB 0644
orca_gui_profile.cpython-313.pyc File 5.69 KB 0644
orca_i18n.cpython-313.pyc File 2.63 KB 0644
orca_modifier_manager.cpython-313.pyc File 17.05 KB 0644
orca_platform.cpython-313.pyc File 661 B 0644
phonnames.cpython-313.pyc File 1.51 KB 0644
pronunciation_dict.cpython-313.pyc File 1.95 KB 0644
script.cpython-313.pyc File 15.33 KB 0644
script_manager.cpython-313.pyc File 18.15 KB 0644
script_utilities.cpython-313.pyc File 87.03 KB 0644
settings.cpython-313.pyc File 6.79 KB 0644
settings_manager.cpython-313.pyc File 35.18 KB 0644
sleep_mode_manager.cpython-313.pyc File 6.67 KB 0644
sound.cpython-313.pyc File 8.71 KB 0644
sound_generator.cpython-313.pyc File 58.4 KB 0644
speech.cpython-313.pyc File 10.75 KB 0644
speech_and_verbosity_manager.cpython-313.pyc File 34.1 KB 0644
speech_generator.cpython-313.pyc File 214.55 KB 0644
speechdispatcherfactory.cpython-313.pyc File 33.52 KB 0644
speechserver.cpython-313.pyc File 10.21 KB 0644
spellcheck.cpython-313.pyc File 24.24 KB 0644
spiel.cpython-313.pyc File 34.68 KB 0644
ssml.cpython-313.pyc File 6.03 KB 0644
structural_navigation.cpython-313.pyc File 93.9 KB 0644
system_information_presenter.cpython-313.pyc File 9.42 KB 0644
table_navigator.cpython-313.pyc File 36.48 KB 0644
text_attribute_names.cpython-313.pyc File 6.01 KB 0644
where_am_i_presenter.cpython-313.pyc File 26.41 KB 0644
Filemanager