On Tue, 21 Dec 2010, Tom Hacohen wrote:

> 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.

after having searched a bit, the X keyboard extension allows to specify 
the values I want. It seems that I have to add that to ecore_x. So let's 
wait for the release (and btw, i already have some ecore_x code for that 
extension, to set the keyboard layout)

Vincent

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to