Hi,

If double click is not handled, the 2nd keypress is passed on to the queues.
Try pressing A many times, goes fine. Also for typing text everywhere.

Btw: "tapping up" I dont grasp, and if "keyboards can do double clicking" of 
course they do! 

-Ton-

------------------------------------------------------------------------
Ton Roosendaal  Blender Foundation   [email protected]    www.blender.org
Blender Institute   Entrepotdok 57A  1018AD Amsterdam   The Netherlands

On 31 Dec, 2012, at 19:04, Campbell Barton wrote:

> When testing auto-complete modal-operator in the text editor, I found
> that tapping up twice gives a KM_DBL_CLICK event.val, since Im
> checking for KM_PRESS this makes the second tap do nothing.
> 
> Is it intentional that keyboards can do double clicking too?
> 
> source/blender/windowmanager/intern/wm_event_system.c:2961
>                       /* double click test */
>                       /* if previous event was same type, and previous was 
> release, and
> now it presses... */
> 
> Adding ISMOUSE(event.type) check here makes it work as I'd expect.
> 
> -- 
> - Campbell
> _______________________________________________
> Bf-committers mailing list
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-committers

_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to