Hi,

I looked further and I can see file
external/qemu/hw/goldfish_events_device.c is the file which sends
events to /dev/input and through qemud probably.

I am not sure is this good to change this file or not ?
If I change this file, it will change "emulator" binary which ofcourse
is not acceptable.

But, still I want to tweak input touch events at lower layer....
Can someone suggest me some pointers ?

On Dec 30 2010, 11:53 am, vkmgeek <viral....@gmail.com> wrote:
> Hi
> Can someone help me to solve following questions in understanding how
> touch events are emulated in Android Emulator ?
>
> 1. Mouse events are used as touch events.
> 2. But, I am not able to find any "goldfish_mouse*.c" file in
> emulator/
> goldfish kernel.
>
> 3. If there is no such file, who creates /dev/input/event0 device on
> emulator ? Is it drivers/input/keyboard/goldfish-events.c file ? If
> yes, I do not see any code related to sending touch events like
> input_report_abs(,,,)?
>
> Thanks,
> Viral
>
> PS - I also posted the same message on android-platform. But, it looks
> more relevant here though it is regarding emulated kernel.

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to