processing / processing-android

Processing mode and core library to create Android apps with Processing
http://android.processing.org
779 stars 293 forks source link

[Feature Request] Add timestamp to entries in 'touches' array #716

Open dfkettle opened 1 year ago

dfkettle commented 1 year ago

Would it be possible to add a timestamp to the entries in the 'touches' array? Say, the number of milliseconds since the app started? I know there's an 'id' field, but the id numbers get re-used as the array shrinks and grows, so they're not really unique id numbers. Or alternatively, modify the logic so that once an id number has been used, it doesn't get re-used until the app closes.