Nils Magnus Larsgard wrote:
> code in thread-loop in function keyBoardEventThread()
> (inputdrivers/keyboard/keyboard.c):
> -----
> read(fd, buf, 4);
> if(~buf[0]&0x02) {
> evt.key_code=9; //button 0 pushed, keycode=9 for 'tab'
> evt.type= DIET_KEYPRESS;
> evt.flags=DIEF_KEYCODE;
> evt.key_code &= 0x7f;
> dfb_input_dispatch( data->device, &evt );
> }
I have TAB on 15.
--
Best regards,
Denis Oliver Kropp
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users