Hi John, I ever tried GTK-DirectFB with remote keyboard, i.e., I telnet to my embedded system and run GTK-DirectFB program.
When starting a GTK-DFB program, the program will open /dev/tty0 and check key mapping. If you don't have /dev/tty0, the program will be terminated. To create tty0, you can run the command first to create tty0, mkfifo /dev/tty0. The program now is able to start successfully, but the program will popup many error messages, such as "DirectFB/keyboard: KDGKBENT (table: 0, index: 0) failed!", and the program also fail to receive key input by writing date to tty0, such as "echo 'a' > /dev/tty0". If you want to also make the keyboard works correctly, you should make some modifies at <DFB_SRC>/inputdrivers/keyboard.c 1. find out function "keyboard_read_value" 2. make the function directly return function parameter index. p.s. Don't forget linking your program to libdirectfb_keyboard.so, if you forget, it also show "Requested ID not found". Best Regards, FCWu _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
