We are using the accelerometer event to catch the shake event, the users of our application will be children, but is too hard to produce the shake event in devices that will be a issue for children, we need to shake too hard the device to catch the shake event, we noticed that in iPad devices the difficult to produce the shake event is increased.
Here is our code:
function t:accelerometer(e)
if e.isShake then
–Do something
end
end
system.setAccelerometerInterval( 10 );
Runtime:addEventListener(“accelerometer”, t);
We added the setAccelerometerInterval to increase the accelerometer sensibility, but the accelerometer sensibility was not increased…
Can you help us to increase the accelerometer sensibility?
Is there some code to increase the sensibility?
[import]uid: 65458 topic_id: 11784 reply_id: 311784[/import]