Custom code to detect a shake event?

I want to react to user shake events but I don’t like the level of sensitivity that ‘accelerometer.event.isShake’ uses.

Does anyone know where I could find some custom code that analyses the accelerometer data (xGravity, xInstant, etc.) and determines the type of movement the user made with the device?

Hello - just wondering if you were able to find anything? Started my research into this same topic and came across your post. Love to hear if you have any examples!

Thy

Hi, I’m afraid I didn’t! If you come across something it’d be great if you could post it.

Hello - just wondering if you were able to find anything? Started my research into this same topic and came across your post. Love to hear if you have any examples!

Thy

Hi, I’m afraid I didn’t! If you come across something it’d be great if you could post it.

Here is a link to the accelerometer event.

https://docs.coronalabs.com/daily/api/event/accelerometer/isShake.html 

Here is a link to the accelerometer event.

https://docs.coronalabs.com/daily/api/event/accelerometer/isShake.html