Hi there, I am trying to execute a the tutorial which uses the keyboard to move 
a sprite around the screen.Here is the 
turorial:http://www.directfb.org/docs/DirectF...ls/sprite.html I am running it 
on a DaVinci development board from TI. The code is as follows:DFBCHECK 
(keyboard->GetKeyState (keyboard, DIKI_LEFT, &state)); if (state == DIKS_DOWN) 
{sprite_x--;}DFBCHECK (keyboard->GetKeyState (keyboard, DIKI_RIGHT, &state)); 
if (state == DIKS_DOWN){sprite_x++;}etc.....Whenever I press the arrow keys on 
the keyboard all I get on the output console window 
is:^[[A^[[A^[[A^[[C^[[C^[[B^[[B^[[D^[[Can anyone help me with this? Is there 
something I need to do?If you need anymore information I can provide you with 
it.ThanksHarry

Get 5GB of online storage for free! Get it Now! 
_________________________________________________________________

Discover and Win with Live Search

http://clk.atdmt.com/UKM/go/msnnkmgl0010000007ukm/direct/01/
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to