react-native-flic2 2.0.0-beta.13 → 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.
|
@@ -51,7 +51,9 @@ class Flic2ButtonEventListener(
|
|
|
51
51
|
// - Age is in seconds
|
|
52
52
|
// - Only meaningful for queued events; 0 for real-time events
|
|
53
53
|
val ageSeconds = if (wasQueued) {
|
|
54
|
-
(button.getReadyTimestamp() - timestamp) / 1000.0
|
|
54
|
+
//(button.getReadyTimestamp() - timestamp) / 1000.0
|
|
55
|
+
// timestamp
|
|
56
|
+
button.getReadyTimestamp()
|
|
55
57
|
} else {
|
|
56
58
|
0.0
|
|
57
59
|
}
|
|
@@ -106,7 +108,9 @@ class Flic2ButtonEventListener(
|
|
|
106
108
|
// - Age is in seconds
|
|
107
109
|
// - Only meaningful for queued events; 0 for real-time events
|
|
108
110
|
val ageSeconds = if (wasQueued) {
|
|
109
|
-
(button.getReadyTimestamp() - timestamp) / 1000.0
|
|
111
|
+
//(button.getReadyTimestamp() - timestamp) / 1000.0
|
|
112
|
+
// timestamp
|
|
113
|
+
button.getReadyTimestamp()
|
|
110
114
|
} else {
|
|
111
115
|
0.0
|
|
112
116
|
}
|
package/package.json
CHANGED