On Tue, 2010-12-21 at 07:47 +0100, Vincent Torri wrote:
> Hey,
> 
> While writing my shoot'm up, I faced 2 problems with the keyboard:
> 
> 1) when I want to move the ship, i press an arrow key and let it pressed. 
> There is some delay before the key is repeated. Is it possible to set this 
> delay with ecore_x or ecore_evas ?
No idea regarding the delay, but I think it's system-wide and you
probably don't want to change that.
But, you can just implement it as follows:
When key is down start a timer calling your callback every X
milliseconds until the key is up, this way you'll get any latency you
want easily.

--
Tom.


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to