Hi all,
I am working on an android (froyo) board, but I don't have any
keyboard&touchscreen devices connected to it. Sure, I am able to
access it through the console. However when using androidvnc server to
access the user interface (using keyboard&mouse of my host computer),
keyboard&touchscreen events injected by this server into /dev/input/
eventxxx files of the board are not handled.
Does someone knows what to do in order to handle these events?
I wrote two fake input built-in drivers (keyboard+touchscreen) having
the skeleton given just below. After system start-up, logcat utility
reports expected log messages from [platform/frameworks/base.git]/
services/java/com/android/server/KeyInputQueue.java, but there are no
log messages from [frameworks/base.git]/libs/ui/EventHub.cpp.
Thanks for helping,
Fabrice.
PS: Skeleton of the fake input drivers:
static int __init fake_kbd_init(void)
{
/* set appropriate evbit and keybit masks here */
// do it
/* register to input subsystem. This will create the associate /dev/
input/eventxxx */
return input_register_device(fake_xxx_dev);
}
static void __exit fake_xxx_exit(void)
{
input_unregister_device(fake_xxx_dev);
}
module_init(fake_xxx_init);
module_exit(fake_xxx_exit);
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en