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