3

How can I detect shake gestures from Pebble?

I just want to show up a text-layer when shaking the pebble...

They added a new API in SDK 2.0:

https://developer.getpebble.com/2/api-reference/group___accelerometer_service.html

http://developer.getpebble.com/2/guides/accelerometer.html

Kara
  • 6,115
  • 16
  • 50
  • 57
MappleDev
  • 453
  • 1
  • 6
  • 11

1 Answers1

3

If you don't need control over the strength of the shake, you can use accel_tap_service_subscribe.

cpf
  • 409
  • 4
  • 10