Can a datafield read a button press?

Hello!

Question: If i make a custom datafield, can it read a button press?

What I would like to do is to make a datafield that add sum "x=x+546" everytime i press the lap button (or other button)
Reason I would like to do this is because I run indoor track that is 546meters, and I would like the datafield to sum the distance.

If this is possible I could also make a datafield that calculate the pace everytime the button is pressed.

Is this possible?
  • Hello!

    Question: If i make a custom datafield, can it read a button press?

    What I would like to do is to make a datafield that add sum "x=x+546" everytime i press the lap button (or other button)
    Reason I would like to do this is because I run indoor track that is 546meters, and I would like the datafield to sum the distance.

    If this is possible I could also make a datafield that calculate the pace everytime the button is pressed.

    Is this possible?


    i don't think so. Datafields should not be able to override the default settings on a button. If u press lap button, it will just add a default lap.

    U likely need to create your own custom app
  • Former Member
    Former Member over 10 years ago
    Key events are not available to data fields. We have plans to add lap information to the data that is available to data fields, so in a future SDK revision, you will be able to do something like this using the native lap functionality on the device.

    As suggested by Nikeow, you would need to develop a full watch app to create this behavior with the current SDK.