react-native-flic2 2.0.0-beta.14 → 2.0.0-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -52,7 +52,8 @@ class Flic2ButtonEventListener(
|
|
|
52
52
|
// - Only meaningful for queued events; 0 for real-time events
|
|
53
53
|
val ageSeconds = if (wasQueued) {
|
|
54
54
|
//(button.getReadyTimestamp() - timestamp) / 1000.0
|
|
55
|
-
timestamp
|
|
55
|
+
// timestamp
|
|
56
|
+
button.getReadyTimestamp()
|
|
56
57
|
} else {
|
|
57
58
|
0.0
|
|
58
59
|
}
|
|
@@ -108,7 +109,8 @@ class Flic2ButtonEventListener(
|
|
|
108
109
|
// - Only meaningful for queued events; 0 for real-time events
|
|
109
110
|
val ageSeconds = if (wasQueued) {
|
|
110
111
|
//(button.getReadyTimestamp() - timestamp) / 1000.0
|
|
111
|
-
timestamp
|
|
112
|
+
// timestamp
|
|
113
|
+
button.getReadyTimestamp()
|
|
112
114
|
} else {
|
|
113
115
|
0.0
|
|
114
116
|
}
|
package/package.json
CHANGED