[android-porting] Simulating accelerometer events natively?

2010-01-13 Thread Bill Gatliff
Guys: I'm trying to come up with a way to simulate an accelerometer under Goldfish. I'm familiar with the OpenIntents sensor simulator, but I want something that doesn't require me to modify my source code. The file development/emulator/sensors/sensors_qemu.c looks like it might be the source

Re: [android-porting] Simulating accelerometer events natively?

2010-01-13 Thread David Turner
Hello, It would be easier to modify the emulator source code instead to read data directly from the OpenIntents simulator (as an example). See external/qemu/android/hw-sensors.c for the current sensor hardware emulation code, which is limited to rotating the virtual device at the moment. Hope