+
     i	  c                  sT    ^ RI Ht ^ RIt^ RIHt ^ RIHt ^ RIHt  ! R R]4      t	R# )i    )annotationsN)ArgumentConfig)Macro)Taskc            	      s~    ] tR t^tRt]! R^ ]R.RR7      ]! R^]R.RR7      ]! R^]].RR7      .t	R R	 lt
R
 tRtR# )	IfTapTaskzIf a key was pressed quickly.

macro key pressed -> if_tap starts -> key released -> then

macro key pressed -> released (does other stuff in the meantime)
-> if_tap starts -> pressed -> released -> then
thenN)ZnameZpositionZtypesZdefaultelsetimeouti,  c               s    V ^8  d   QhRR/# )i   ZreturnZNone )Zformats   "P/usr/lib/python3.14/site-packages/inputremapper/injection/macros/tasks/if_tap.pyZ__annotate__ZIfTapTask.__annotate__<   s     * *T *    c                	s  "   V P                  R 4      P                  4       pV P                  R4      P                  4       pV P                  R4      P                  4       R,          p \        P                  ! V P	                  4       V4      G Rj  xL
  V'       d   VP                  V4      G Rj  xL
  R# R#  L) L
  \        P                   d*    T'       d   TP                  T4      G Rj  xL 
   R#  R# i ; i5i)r   r   r   i  N)Zget_argumentZ	get_valueasyncioZwait_for_waitrunZTimeoutError)selfZcallbackr   Zelse_r   s   &&   r	   r   ZIfTapTask.run<   s       (224!!&)335##I.88:TA	*""4::<999hhx(((  :(## 	*ii))) 	*sf   A%C?((B> B:B> B> 1B<2B> 6C?:B> <B> >C<C</C20C<5C?;C<<C?c                s  "   V P                  4       '       d%   V P                  P                  4       G Rj  xL
  R# V P                  P                  4       G Rj  xL
  V P                  P                  4       G Rj  xL
  R#  LL L* L
5i)zCWait for a release, or if nothing pressed yet, a press and release.N)Z
is_holdingZ_trigger_release_eventZwaitZ_trigger_press_event)r   s   &r	   r   ZIfTapTask._waitI   se     ??--22444++00222--22444 524s3   4B	B#B	B!B	<B=B	B	B	r   )Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   r   ZintZfloatZargument_configsr   r   Z__static_attributes__r   r
   r	   r   r      sg     	$-		
 	$-		
 	,		
**5r
   r   )
Z
__future__r    r   Z'inputremapper.injection.macros.argumentr   Z$inputremapper.injection.macros.macror   Z#inputremapper.injection.macros.taskr   r   r   r
   r	   <module>r      s"   * #  B 6 415 15r
   