nanogui: KEY_PRESSED event for textbox
Subject:
Re: [nanogui] KEY_PRESSED event for textbox
From:
Kees Schoenmakers ####@####.####
Date:
1 Sep 2008 13:02:18 -0000
Message-Id: <200809011500.42257.k.schoenmakers@sigmae.nl>
On maandag 1 september 2008, RAHUL RAVINDRAN wrote:
> Sir,
> I tried give KEY_PRESSED event for the textbox in tinywidget
> but it is not working i.e whenever the key is pressed
> event does not fire.I used tnRegisterCallBack() which register the event
> for the widget. Kindly please help me.
>
>
>
> Be the first one to try the new Messenger 9 Beta! Go to
> http://in.messenger.yahoo.com/win/
Hi,
check if
hexdump /dev/event0
provides event data. like:
root@Panel-Card:# hexdump /dev/event0
0000000 0066 0000 15cc 000a 0001 0037 0001 0000
0000010 0066 0000 15dd 000a 0000 0000 0000 0000
0000020 0066 0000 22d4 000d 0001 0037 0000 0000
0000030 0066 0000 22e1 000d 0000 0000 0000 0000
0000040 0067 0000 51a8 0000 0001 0008 0001 0000
Kees
PS you need to press keys for it to happen