+
    <i%  c                   sj   ^ RI Ht ^ RI5 ^ RIt ! R R]4      t]! ^ 4      t]! ^4      t]! ^4      t]! ^4      t	 ! R R]4      t
]
! ^4      t]
! ^4      t]
! ^4      t]
! ^4      t ! R R]4      t]! ^ 4      t]! ^4      t ! R	 R
]4      t]! ^4      t]! ^ 4      t]! ^4      t]! ^4      t]! ^4      t]! ^4      t]! ^4      t ! R R]4      t]! ^4      t]! ^4      t]! ^4      t]! ^4      t]! ^4      t]! ^4      t ]! ^ 4      t!]! ^4      t"R t# ! R R]$4      t% ! R R]$4      t& ! R R]$4      t'R# )    N)Z*c                   s*    ] tR t^t^ R^R^R^R/tRtR# )PressedEventTypeKEY_PRESSED_EVENTKEY_RELEASED_EVENTBUTTON_PRESSED_EVENTBUTTON_RELEASED_EVENT N__name__
__module____qualname____firstlineno__Z_enum_lookup__static_attributes__r       8/usr/lib/python3.14/site-packages/pyatspi/deviceevent.pyr   r      s!    %&()	
r   r   c                   s*    ] tR t^&t^R^R^R^R/tRtR# )ControllerEventMaskKEY_PRESSED_EVENT_MASKKEY_RELEASED_EVENT_MASKBUTTON_PRESSED_EVENT_MASKBUTTON_RELEASED_EVENT_MASKr   Nr   r   r   r   r   r   &   s!    *+-.	
r   r   c                   s"    ] tR t^5t^ R^R/tRtR# )KeyEventTypeKEY_PRESSEDKEY_RELEASEDr   Nr   r   r   r   r   r   5   s    -.
r   r   c                   s6    ] tR t^?t^ R^R^R^R^R^R^R/tRtR	# )
KeySynthType	KEY_PRESSKEY_RELEASEKEY_PRESSRELEASEKEY_SYM
KEY_STRINGKEY_LOCKMODIFIERSKEY_UNLOCKMODIFIERSr   Nr   r   r   r   r   r   ?   s/    +-$),%'
r   r   c                   s:    ] tR t^Tt^ R^R^R^R^R^R^R^R/tR	tR
# )ModifierTypeMODIFIER_SHIFTMODIFIER_SHIFTLOCKMODIFIER_CONTROLMODIFIER_ALTMODIFIER_METAMODIFIER_META2MODIFIER_META3MODIFIER_NUMLOCKr   Nr   r   r   r   r   r   T   s7    "&$./""$	
r   r   c               #  sT   "   ^ p V ^\         ,          8:  d   V x  V ^,          p K!  R# 5i)zi
Generates all possible keyboard modifiers for use with 
L{registry.Registry.registerKeystrokeListener}.
N)r'   )Zmasks    r   allModifiersr(   i   s-     
 q,,-
	 .s   &(c                   s  a  ] tR t^ut o RtR tR tR tR t]	! ]]R7      t
R tR t]	! ]]R7      tR	 tR
 t]	! ]]R7      tR tR t]	! ]]R7      tR tR t]	! ]]R7      tR tR t]	! ]]R7      tR tR t]	! ]]R7      tR tRtV tR# )DeviceEventa+  
Wraps an AT-SPI device event with a more Pythonic interface. Primarily adds
a consume attribute which can be used to cease propagation of a device event.

@ivar consume: Should this event be consumed and not allowed to pass on to
        observers further down the dispatch chain in this process or possibly
        system wide?
@type consume: boolean
@ivar type: Kind of event, KEY_PRESSED_EVENT or KEY_RELEASED_EVENT
@type type: Accessibility.EventType
@ivar id: Serial identifier for this key event
@type id: integer
@ivar hw_code: Hardware scan code for the key
@type hw_code: integer
@ivar modifiers: Modifiers held at the time of the key event
@type modifiers: integer
@ivar timestamp: Time at which the event occurred relative to some platform
        dependent starting point (e.g. XWindows start time)
@type timestamp: integer
@ivar event_string: String describing the key pressed (e.g. keysym)
@type event_string: string
@ivar is_text: Is the event representative of text to be inserted (True), or 
        of a control key (False)?
@type is_text: boolean
c           
     s4    \         P                  WW#WEWg34      # Nlist__new__)clstypeidhw_code	modifiers	timestampevent_stringis_text   &&&&&&&&r   r-   ZDeviceEvent.__new__   s    ||CYS_)ijjr   c           
     sF    \         P                  WW#WEWg34       R V n        R# )FN)r,   __init__consume)selfr/   r0   r1   r2   r3   r4   r5   r6   r   r7   ZDeviceEvent.__init__   s    d2	l$de$r   c                    V ^ ,          # r    r   r9      &r   	_get_typeZDeviceEvent._get_type       Awr   c                    W^ &   R# r    Nr   r9   Zval   &&r   	_set_typeZDeviceEvent._set_type   	    Qr   ZfgetZfsetc                    V ^,          #    r   r<   r=   r   _get_idZDeviceEvent._get_id   r?   r   c                    W^&   R# rI   Nr   rB   rC   r   _set_idZDeviceEvent._set_id   rE   r   c                    V ^,          #    r   r<   r=   r   _get_hw_codeZDeviceEvent._get_hw_code   r?   r   c                    W^&   R# rP   Nr   rB   rC   r   _set_hw_codeZDeviceEvent._set_hw_code   rE   r   c                    V ^,          #    r   r<   r=   r   _get_modifiersZDeviceEvent._get_modifiers   r?   r   c                    W^&   R# rW   Nr   rB   rC   r   _set_modifiersZDeviceEvent._set_modifiers   rE   r   c                s    V ^,          # )   r   r<   r=   r   _get_timestampZDeviceEvent._get_timestamp   r?   r   c                s    W^&   R# )r\   Nr   rB   rC   r   _set_timestampZDeviceEvent._set_timestamp   rE   r   c                s    V ^,          # )   r   r<   r=   r   _get_event_stringZDeviceEvent._get_event_string   r?   r   c                s    W^&   R# )r_   Nr   rB   rC   r   _set_event_stringZDeviceEvent._set_event_string   rE   r   c                s    V ^,          # )   r   r<   r=   r   _get_is_textZDeviceEvent._get_is_text   r?   r   c                s    W^&   R# )rb   Nr   rB   rC   r   _set_is_textZDeviceEvent._set_is_text   rE   r   c                s   ^ RI pV P                  VP                  8X  d   RpMV P                  VP                  8X  d   RpRXV P                  V P
                  V P                  V P                  V P                  V P                  3,          # )za
Builds a human readable representation of the event.

@return: Event description
@rtype: string
NZpressedZreleasedzT%s
	hw_code: %d
	event_string: %s
	modifiers: %d
	id: %d
	timestamp: %d
	is_text: %s)
	constantsr/   r   r   r1   r4   r2   r0   r3   r5   )r9   re   Zkinds   &  r   __str__ZDeviceEvent.__str__   su     !99	 ; ;;(YY)">">>) $,,(9(94>>77 7r   )r8   N) r   r	   r
   r   Z__doc__r-   r7   r>   rD   propertyr/   rJ   rM   r0   rQ   rT   r1   rX   r[   r2   r]   r^   r3   r`   ra   r4   rc   rd   r5   rf   r   __classdictcell__Z__classdict__   @r   r)   r)   u   s     	2	k	%		YY7		71		<@		.~F			.~F			%6=NO		<@	7 	7r   r)   c                   s   a  ] tR t^t o R tR tR tR t]! ]]R7      t	R t
R t]! ]
]R7      tR tR	 t]! ]]R7      tR
tV tR# )EventListenerModec                s0    \         P                  WW#34      # r*   r+   )r.   synchronous
preemptiveglobal_   &&&&r   r-   ZEventListenerMode.__new__   s    ||Cz)KLLr   c                s4    \         P                  WW#34       R # r*   r,   r7   )r9   rl   rm   rn   ro   r   r7   ZEventListenerMode.__init__   s    d*$FGr   c                r:   r;   r   r<   r=   r   _get_synchronousZ"EventListenerMode._get_synchronous   r?   r   c                r@   rA   r   rB   rC   r   _set_synchronousZ"EventListenerMode._set_synchronous   rE   r   rF   c                rG   rH   r   r<   r=   r   _get_preemptiveZ!EventListenerMode._get_preemptive   r?   r   c                rK   rL   r   rB   rC   r   _set_preemptiveZ!EventListenerMode._set_preemptive   rE   r   c                rN   rO   r   r<   r=   r   _get_global_ZEventListenerMode._get_global_   r?   r   c                rR   rS   r   rB   rC   r   _set_global_ZEventListenerMode._set_global_   rE   r   r   N)r   r	   r
   r   r-   r7   rq   rr   rg   rl   rs   rt   rm   ru   rv   rn   r   rh   ri   rj   r   rk   rk      sU     	M	H		$4;KL		?I
		<@r   rk   c                   s   a  ] tR t^t o R tR tR tR t]! ]]R7      t	R t
R t]! ]
]R7      tR tR	 t]! ]]R7      tR
 tR t]! ]]R7      tRtV tR# )KeyDefinitionc                s2    \         P                  WW#V34      # r*   r+   )r.   keycodekeysym	keystringunused   &&&&&r   r-   ZKeyDefinition.__new__   s    ||C6f)MNNr   c                s6    \         P                  WW#V34       R # r*   rp   )r9   rx   ry   rz   r{   r|   r   r7   ZKeyDefinition.__init__   s    df$HIr   c                r:   r;   r   r<   r=   r   _get_keycodeZKeyDefinition._get_keycode   r?   r   c                r@   rA   r   rB   rC   r   _set_keycodeZKeyDefinition._set_keycode   rE   r   rF   c                rG   rH   r   r<   r=   r   _get_keysymZKeyDefinition._get_keysym   r?   r   c                rK   rL   r   rB   rC   r   _set_keysymZKeyDefinition._set_keysym   rE   r   c                rN   rO   r   r<   r=   r   _get_keystringZKeyDefinition._get_keystring   r?   r   c                rR   rS   r   rB   rC   r   _set_keystringZKeyDefinition._set_keystring   rE   r   c                rU   rV   r   r<   r=   r   _get_unusedZKeyDefinition._get_unused   r?   r   c                rY   rZ   r   rB   rC   r   _set_unusedZKeyDefinition._set_unused   rE   r   r   N)r   r	   r
   r   r-   r7   r}   r~   rg   rx   r   r   ry   r   r   rz   r   r   r{   r   rh   ri   rj   r   rw   rw      si     	O	J		<@		{=		.~F			{=r   rw   )(Zpyatspi.registryZregistryZpyatspi.atspienumZ	tracebackZ	AtspiEnumr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r#   r"   r$   r%   r&   r'   r    r!   r(   r,   r)   rk   rw   r   r   r   <module>r      s{   $  
y 
 %Q' %a( '* (+ 
) 
 -Q/ -a0 /2 03 
9 

 1oA	
9 	
 !O O	? 1o!_

q/"1o 

9 

 A? Qaa? a!!_ W7$ W7vA A.>D >r   