Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Custom code to detect a shake event?
Started by stevebreslin Apr 22 2013 04:19 AM

3 replies to this topic
accelerometer shake event
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

stevebreslin

[GLOBAL: userInfoPane.html]
stevebreslin
  • Observer

  • 21 posts
  • Corona SDK

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?



[TOPIC: post.html]
#2

thy.toeung

[GLOBAL: userInfoPane.html]
thy.toeung
  • Enthusiast

  • 66 posts
  • Corona SDK

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



[TOPIC: post.html]
#3

stevebreslin

[GLOBAL: userInfoPane.html]
stevebreslin
  • Observer

  • 21 posts
  • Corona SDK

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

[TOPIC: post.html]
#4

beadpond

[GLOBAL: userInfoPane.html]
beadpond
  • Observer

  • 7 posts
  • Corona SDK


[topic_controls]
[/topic_controls]