How to read key values from ADESSO ARC-1100 remote in BB C4?

Hai,

I am using USB Keyboard in Beagle Board Revision C4. For that I used
the following code for opening and reading values from the USB
Keyboard driver. I can get the key values of the keyboard from the
kernel. The following is the code which I used for reading values form
the USB keyboard.

int fKeydesc;

struct input_event Key_ev[64];

if ((fKeydesc = open("/dev/input/event2", O_RDONLY)) < 0)
{
            perror("evtest");
            return 1;
}

int rd = read(fKeydesc, Key_ev, sizeof(struct input_event) * 64);

if (rd < (int) sizeof(struct input_event))
{
perror("\nevtest: error reading");
return 1;
}
if (Key_ev[1].value == 1)
return (Key_ev[1].code);

Now I am going to use the IR USB remote(ADESSO ARC-1100) for my
application. This IR driver is detected under /dev/input/event3. I am
able to open the driver successfully. But I cant read the values from
the remote. Can any one please clarify in this regard? Please find in
the below link the header file evtest.h used for input event.

http://cgit.freedesktop.org/~whot/evtest/tree/evtest.c

regards,

Chinnathambi