On Sun, 23 Jan 2011 18:36:15 +0100 Styve Attia <styve.at...@gmail.com>
wrote:

> Hello,
> 
> I have a little problem for my project using DirectFB.
> I have an application which need to ask to the user his name, and he
> has to tape it through the keyboard.
> But I want to show it in real time on the screen.
> Is there a function for it? or do I need to create my own function
> using all DIKI of each letters, etc.. ?

No, you dont have to.
There is a field called key_symbol in DFBInputEvent, it contains an
ASCII compatible value. You can construct your output string from these
(Obbiously you should filter values like DIKS_BACKSPACE etc).


http://directfb.org/docs/DirectFB_Reference_1_0/types.html#DFBInputEvent
> 
> I've searched on the DFB functions, but I hav'nt found what I really
> want (or I have'nt seen it maybe..).
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to