react-native-flic2 0.3.23 → 0.3.24

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.
Files changed (33) hide show
  1. package/index.js +5 -5
  2. package/ios/Flic2.h +1 -5
  3. package/ios/Flic2.xcodeproj/project.pbxproj +34 -8
  4. package/ios/Flic2.xcodeproj/xcshareddata/xcschemes/Flic2.xcscheme +66 -0
  5. package/ios/Flic2.xcodeproj/xcuserdata/wesdewitte.xcuserdatad/xcschemes/xcschememanagement.plist +8 -0
  6. package/ios/Flic2.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +5 -0
  7. package/ios/Flic2.xcworkspace/xcuserdata/wesdewitte.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  8. package/ios/Flic2.xcworkspace/xcuserdata/wesdewitte.xcuserdatad/WorkspaceSettings.xcsettings +14 -0
  9. package/ios/flic2lib.xcframework/Info.plist +56 -0
  10. package/ios/{Frameworks → flic2lib.xcframework/ios-arm64_armv7}/flic2lib.framework/Headers/FLICButton.h +10 -0
  11. package/ios/{Frameworks → flic2lib.xcframework/ios-arm64_armv7}/flic2lib.framework/Headers/FLICEnums.h +19 -0
  12. package/ios/{Frameworks → flic2lib.xcframework/ios-arm64_armv7}/flic2lib.framework/Info.plist +0 -0
  13. package/ios/flic2lib.xcframework/ios-arm64_armv7/flic2lib.framework/flic2lib +0 -0
  14. package/ios/flic2lib.xcframework/ios-arm64_x86_64-maccatalyst/flic2lib.framework/Versions/A/Headers/FLICButton.h +335 -0
  15. package/ios/flic2lib.xcframework/ios-arm64_x86_64-maccatalyst/flic2lib.framework/Versions/A/Headers/FLICEnums.h +315 -0
  16. package/ios/flic2lib.xcframework/ios-arm64_x86_64-maccatalyst/flic2lib.framework/Versions/A/Headers/FLICManager.h +171 -0
  17. package/ios/flic2lib.xcframework/ios-arm64_x86_64-maccatalyst/flic2lib.framework/Versions/A/Headers/flic2lib.h +19 -0
  18. package/ios/flic2lib.xcframework/ios-arm64_x86_64-maccatalyst/flic2lib.framework/Versions/A/Modules/module.modulemap +6 -0
  19. package/ios/flic2lib.xcframework/ios-arm64_x86_64-maccatalyst/flic2lib.framework/Versions/A/Resources/Info.plist +50 -0
  20. package/ios/flic2lib.xcframework/ios-arm64_x86_64-maccatalyst/flic2lib.framework/Versions/A/flic2lib +0 -0
  21. package/ios/flic2lib.xcframework/ios-arm64_x86_64-simulator/flic2lib.framework/Headers/FLICButton.h +335 -0
  22. package/ios/flic2lib.xcframework/ios-arm64_x86_64-simulator/flic2lib.framework/Headers/FLICEnums.h +315 -0
  23. package/ios/flic2lib.xcframework/ios-arm64_x86_64-simulator/flic2lib.framework/Headers/FLICManager.h +171 -0
  24. package/ios/flic2lib.xcframework/ios-arm64_x86_64-simulator/flic2lib.framework/Headers/flic2lib.h +19 -0
  25. package/ios/flic2lib.xcframework/ios-arm64_x86_64-simulator/flic2lib.framework/Info.plist +0 -0
  26. package/ios/flic2lib.xcframework/ios-arm64_x86_64-simulator/flic2lib.framework/Modules/module.modulemap +6 -0
  27. package/ios/flic2lib.xcframework/ios-arm64_x86_64-simulator/flic2lib.framework/flic2lib +0 -0
  28. package/package.json +1 -1
  29. package/react-native-flic2.podspec +2 -2
  30. package/ios/Frameworks/flic2lib.framework/flic2lib +0 -0
  31. /package/ios/{Frameworks → flic2lib.xcframework/ios-arm64_armv7}/flic2lib.framework/Headers/FLICManager.h +0 -0
  32. /package/ios/{Frameworks → flic2lib.xcframework/ios-arm64_armv7}/flic2lib.framework/Headers/flic2lib.h +0 -0
  33. /package/ios/{Frameworks → flic2lib.xcframework/ios-arm64_armv7}/flic2lib.framework/Modules/module.modulemap +0 -0
package/index.js CHANGED
@@ -109,13 +109,13 @@ class Flic2 extends EventEmitter {
109
109
  this.knownButtons = {};
110
110
  }
111
111
 
112
- /**
112
+ /**
113
113
  * Start up the flic module
114
114
  */
115
- start() {
116
- // start the native context
117
- Flic2Module.startup();
118
- }
115
+ start() {
116
+ // start the native context
117
+ Flic2Module.startup();
118
+ }
119
119
 
120
120
  registerInitializedCallback(){
121
121
  if(Platform.OS === 'android') {
package/ios/Flic2.h CHANGED
@@ -1,9 +1,5 @@
1
- #if __has_include(<React/RCTBridgeModule.h>)
2
- #import <React/RCTBridgeModule.h>
3
- #else
4
- #import "RCTBridgeModule.h"
5
- #endif
6
1
 
2
+ #import <React/RCTBridgeModule.h>
7
3
  #import <React/RCTEventEmitter.h>
8
4
  @import flic2lib;
9
5
 
@@ -3,11 +3,11 @@
3
3
  archiveVersion = 1;
4
4
  classes = {
5
5
  };
6
- objectVersion = 46;
6
+ objectVersion = 54;
7
7
  objects = {
8
8
 
9
9
  /* Begin PBXBuildFile section */
10
- 3A649F5F23B0DB7F00D69AC0 /* flic2lib.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A649F5E23B0DB7F00D69AC0 /* flic2lib.framework */; };
10
+ 3A6BB3302B7E17AA00A0F73C /* flic2lib.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3A6BB32F2B7E17AA00A0F73C /* flic2lib.xcframework */; };
11
11
  B3E7B58A1CC2AC0600A0062D /* Flic2.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* Flic2.m */; };
12
12
  /* End PBXBuildFile section */
13
13
 
@@ -25,7 +25,7 @@
25
25
 
26
26
  /* Begin PBXFileReference section */
27
27
  134814201AA4EA6300B7C361 /* libFlic2.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libFlic2.a; sourceTree = BUILT_PRODUCTS_DIR; };
28
- 3A649F5E23B0DB7F00D69AC0 /* flic2lib.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = flic2lib.framework; sourceTree = SOURCE_ROOT; };
28
+ 3A6BB32F2B7E17AA00A0F73C /* flic2lib.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = flic2lib.xcframework; sourceTree = "<group>"; };
29
29
  B3E7B5881CC2AC0600A0062D /* Flic2.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Flic2.h; sourceTree = SOURCE_ROOT; };
30
30
  B3E7B5891CC2AC0600A0062D /* Flic2.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Flic2.m; sourceTree = SOURCE_ROOT; };
31
31
  /* End PBXFileReference section */
@@ -35,7 +35,7 @@
35
35
  isa = PBXFrameworksBuildPhase;
36
36
  buildActionMask = 2147483647;
37
37
  files = (
38
- 3A649F5F23B0DB7F00D69AC0 /* flic2lib.framework in Frameworks */,
38
+ 3A6BB3302B7E17AA00A0F73C /* flic2lib.xcframework in Frameworks */,
39
39
  );
40
40
  runOnlyForDeploymentPostprocessing = 0;
41
41
  };
@@ -50,13 +50,21 @@
50
50
  name = Products;
51
51
  sourceTree = "<group>";
52
52
  };
53
+ 3A919E962B7CAD8E00FA7A77 /* Frameworks */ = {
54
+ isa = PBXGroup;
55
+ children = (
56
+ 3A6BB32F2B7E17AA00A0F73C /* flic2lib.xcframework */,
57
+ );
58
+ name = Frameworks;
59
+ sourceTree = "<group>";
60
+ };
53
61
  58B511D21A9E6C8500147676 = {
54
62
  isa = PBXGroup;
55
63
  children = (
56
64
  B3E7B5881CC2AC0600A0062D /* Flic2.h */,
57
65
  B3E7B5891CC2AC0600A0062D /* Flic2.m */,
58
66
  134814211AA4EA7D00B7C361 /* Products */,
59
- 3A649F5E23B0DB7F00D69AC0 /* flic2lib.framework */,
67
+ 3A919E962B7CAD8E00FA7A77 /* Frameworks */,
60
68
  );
61
69
  sourceTree = "<group>";
62
70
  };
@@ -86,7 +94,8 @@
86
94
  58B511D31A9E6C8500147676 /* Project object */ = {
87
95
  isa = PBXProject;
88
96
  attributes = {
89
- LastUpgradeCheck = 0920;
97
+ BuildIndependentTargetsInParallel = YES;
98
+ LastUpgradeCheck = 1510;
90
99
  ORGANIZATIONNAME = Facebook;
91
100
  TargetAttributes = {
92
101
  58B511DA1A9E6C8500147676 = {
@@ -101,6 +110,7 @@
101
110
  knownRegions = (
102
111
  English,
103
112
  en,
113
+ Base,
104
114
  );
105
115
  mainGroup = 58B511D21A9E6C8500147676;
106
116
  productRefGroup = 58B511D21A9E6C8500147676;
@@ -129,6 +139,7 @@
129
139
  buildSettings = {
130
140
  ALWAYS_SEARCH_USER_PATHS = NO;
131
141
  CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
142
+ CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
132
143
  CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
133
144
  CLANG_CXX_LIBRARY = "libc++";
134
145
  CLANG_ENABLE_MODULES = YES;
@@ -137,14 +148,17 @@
137
148
  CLANG_WARN_BOOL_CONVERSION = YES;
138
149
  CLANG_WARN_COMMA = YES;
139
150
  CLANG_WARN_CONSTANT_CONVERSION = YES;
151
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
140
152
  CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
141
153
  CLANG_WARN_EMPTY_BODY = YES;
142
154
  CLANG_WARN_ENUM_CONVERSION = YES;
143
155
  CLANG_WARN_INFINITE_RECURSION = YES;
144
156
  CLANG_WARN_INT_CONVERSION = YES;
145
157
  CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
158
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
146
159
  CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
147
160
  CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
161
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
148
162
  CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
149
163
  CLANG_WARN_STRICT_PROTOTYPES = YES;
150
164
  CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -153,6 +167,7 @@
153
167
  COPY_PHASE_STRIP = NO;
154
168
  ENABLE_STRICT_OBJC_MSGSEND = YES;
155
169
  ENABLE_TESTABILITY = YES;
170
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
156
171
  GCC_C_LANGUAGE_STANDARD = gnu99;
157
172
  GCC_DYNAMIC_NO_PIC = NO;
158
173
  GCC_NO_COMMON_BLOCKS = YES;
@@ -180,6 +195,7 @@
180
195
  buildSettings = {
181
196
  ALWAYS_SEARCH_USER_PATHS = NO;
182
197
  CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES;
198
+ CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
183
199
  CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
184
200
  CLANG_CXX_LIBRARY = "libc++";
185
201
  CLANG_ENABLE_MODULES = YES;
@@ -188,14 +204,17 @@
188
204
  CLANG_WARN_BOOL_CONVERSION = YES;
189
205
  CLANG_WARN_COMMA = YES;
190
206
  CLANG_WARN_CONSTANT_CONVERSION = YES;
207
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
191
208
  CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
192
209
  CLANG_WARN_EMPTY_BODY = YES;
193
210
  CLANG_WARN_ENUM_CONVERSION = YES;
194
211
  CLANG_WARN_INFINITE_RECURSION = YES;
195
212
  CLANG_WARN_INT_CONVERSION = YES;
196
213
  CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
214
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
197
215
  CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
198
216
  CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
217
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
199
218
  CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
200
219
  CLANG_WARN_STRICT_PROTOTYPES = YES;
201
220
  CLANG_WARN_SUSPICIOUS_MOVE = YES;
@@ -204,6 +223,7 @@
204
223
  COPY_PHASE_STRIP = YES;
205
224
  ENABLE_NS_ASSERTIONS = NO;
206
225
  ENABLE_STRICT_OBJC_MSGSEND = YES;
226
+ ENABLE_USER_SCRIPT_SANDBOXING = YES;
207
227
  GCC_C_LANGUAGE_STANDARD = gnu99;
208
228
  GCC_NO_COMMON_BLOCKS = YES;
209
229
  GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -234,7 +254,10 @@
234
254
  "$(SRCROOT)/../../../React/**",
235
255
  "$(SRCROOT)/../../react-native/React/**",
236
256
  );
237
- LIBRARY_SEARCH_PATHS = "$(inherited)";
257
+ LIBRARY_SEARCH_PATHS = (
258
+ "$(inherited)",
259
+ "$(PROJECT_DIR)/Frameworks/flic2lib.xcframework/ios-arm64_armv7/flic2lib.framework",
260
+ );
238
261
  OTHER_LDFLAGS = "-ObjC";
239
262
  PRODUCT_NAME = Flic2;
240
263
  SKIP_INSTALL = YES;
@@ -256,7 +279,10 @@
256
279
  "$(SRCROOT)/../../../React/**",
257
280
  "$(SRCROOT)/../../react-native/React/**",
258
281
  );
259
- LIBRARY_SEARCH_PATHS = "$(inherited)";
282
+ LIBRARY_SEARCH_PATHS = (
283
+ "$(inherited)",
284
+ "$(PROJECT_DIR)/Frameworks/flic2lib.xcframework/ios-arm64_armv7/flic2lib.framework",
285
+ );
260
286
  OTHER_LDFLAGS = "-ObjC";
261
287
  PRODUCT_NAME = Flic2;
262
288
  SKIP_INSTALL = YES;
@@ -0,0 +1,66 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "1510"
4
+ version = "1.7">
5
+ <BuildAction
6
+ parallelizeBuildables = "YES"
7
+ buildImplicitDependencies = "YES">
8
+ <BuildActionEntries>
9
+ <BuildActionEntry
10
+ buildForTesting = "YES"
11
+ buildForRunning = "YES"
12
+ buildForProfiling = "YES"
13
+ buildForArchiving = "YES"
14
+ buildForAnalyzing = "YES">
15
+ <BuildableReference
16
+ BuildableIdentifier = "primary"
17
+ BlueprintIdentifier = "58B511DA1A9E6C8500147676"
18
+ BuildableName = "libFlic2.a"
19
+ BlueprintName = "Flic2"
20
+ ReferencedContainer = "container:Flic2.xcodeproj">
21
+ </BuildableReference>
22
+ </BuildActionEntry>
23
+ </BuildActionEntries>
24
+ </BuildAction>
25
+ <TestAction
26
+ buildConfiguration = "Debug"
27
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
28
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29
+ shouldUseLaunchSchemeArgsEnv = "YES"
30
+ shouldAutocreateTestPlan = "YES">
31
+ </TestAction>
32
+ <LaunchAction
33
+ buildConfiguration = "Debug"
34
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
35
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
36
+ launchStyle = "0"
37
+ useCustomWorkingDirectory = "NO"
38
+ ignoresPersistentStateOnLaunch = "NO"
39
+ debugDocumentVersioning = "YES"
40
+ debugServiceExtension = "internal"
41
+ allowLocationSimulation = "YES">
42
+ </LaunchAction>
43
+ <ProfileAction
44
+ buildConfiguration = "Release"
45
+ shouldUseLaunchSchemeArgsEnv = "YES"
46
+ savedToolIdentifier = ""
47
+ useCustomWorkingDirectory = "NO"
48
+ debugDocumentVersioning = "YES">
49
+ <MacroExpansion>
50
+ <BuildableReference
51
+ BuildableIdentifier = "primary"
52
+ BlueprintIdentifier = "58B511DA1A9E6C8500147676"
53
+ BuildableName = "libFlic2.a"
54
+ BlueprintName = "Flic2"
55
+ ReferencedContainer = "container:Flic2.xcodeproj">
56
+ </BuildableReference>
57
+ </MacroExpansion>
58
+ </ProfileAction>
59
+ <AnalyzeAction
60
+ buildConfiguration = "Debug">
61
+ </AnalyzeAction>
62
+ <ArchiveAction
63
+ buildConfiguration = "Release"
64
+ revealArchiveInOrganizer = "YES">
65
+ </ArchiveAction>
66
+ </Scheme>
@@ -10,5 +10,13 @@
10
10
  <integer>0</integer>
11
11
  </dict>
12
12
  </dict>
13
+ <key>SuppressBuildableAutocreation</key>
14
+ <dict>
15
+ <key>58B511DA1A9E6C8500147676</key>
16
+ <dict>
17
+ <key>primary</key>
18
+ <true/>
19
+ </dict>
20
+ </dict>
13
21
  </dict>
14
22
  </plist>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict/>
5
+ </plist>
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>BuildLocationStyle</key>
6
+ <string>UseAppPreferences</string>
7
+ <key>CustomBuildLocationType</key>
8
+ <string>RelativeToDerivedData</string>
9
+ <key>DerivedDataLocationStyle</key>
10
+ <string>Default</string>
11
+ <key>ShowSharedSchemesAutomaticallyEnabled</key>
12
+ <true/>
13
+ </dict>
14
+ </plist>
@@ -0,0 +1,56 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>AvailableLibraries</key>
6
+ <array>
7
+ <dict>
8
+ <key>LibraryIdentifier</key>
9
+ <string>ios-arm64_armv7</string>
10
+ <key>LibraryPath</key>
11
+ <string>flic2lib.framework</string>
12
+ <key>SupportedArchitectures</key>
13
+ <array>
14
+ <string>arm64</string>
15
+ <string>armv7</string>
16
+ </array>
17
+ <key>SupportedPlatform</key>
18
+ <string>ios</string>
19
+ </dict>
20
+ <dict>
21
+ <key>LibraryIdentifier</key>
22
+ <string>ios-arm64_x86_64-simulator</string>
23
+ <key>LibraryPath</key>
24
+ <string>flic2lib.framework</string>
25
+ <key>SupportedArchitectures</key>
26
+ <array>
27
+ <string>arm64</string>
28
+ <string>x86_64</string>
29
+ </array>
30
+ <key>SupportedPlatform</key>
31
+ <string>ios</string>
32
+ <key>SupportedPlatformVariant</key>
33
+ <string>simulator</string>
34
+ </dict>
35
+ <dict>
36
+ <key>LibraryIdentifier</key>
37
+ <string>ios-arm64_x86_64-maccatalyst</string>
38
+ <key>LibraryPath</key>
39
+ <string>flic2lib.framework</string>
40
+ <key>SupportedArchitectures</key>
41
+ <array>
42
+ <string>arm64</string>
43
+ <string>x86_64</string>
44
+ </array>
45
+ <key>SupportedPlatform</key>
46
+ <string>ios</string>
47
+ <key>SupportedPlatformVariant</key>
48
+ <string>maccatalyst</string>
49
+ </dict>
50
+ </array>
51
+ <key>CFBundlePackageType</key>
52
+ <string>XFWK</string>
53
+ <key>XCFrameworkFormatVersion</key>
54
+ <string>1.0</string>
55
+ </dict>
56
+ </plist>
@@ -148,6 +148,16 @@ NS_ASSUME_NONNULL_BEGIN
148
148
  */
149
149
  @property(nonatomic, readonly) BOOL isUnpaired;
150
150
 
151
+ /*!
152
+ * @property latencyMode
153
+ *
154
+ * @discussion Lets you switch between two different latency modes. For most use-cases it is recommend to keep the default FLICLatencyModeNormal.
155
+ * FLICLatencyModeLow should ideally only be used for foreground applications, such as games, where low latency is needed. Keep in mind that the
156
+ * energy consumption will be significantly higher in the low latency mode.
157
+ *
158
+ */
159
+ @property(nonatomic, readwrite) FLICLatencyMode latencyMode;
160
+
151
161
  /*!
152
162
  * @method connect
153
163
  *
@@ -293,4 +293,23 @@ typedef NS_ENUM(NSInteger, FLICButtonTriggerMode)
293
293
  FLICButtonTriggerModeClick,
294
294
  };
295
295
 
296
+ /*!
297
+ * @enum FLICButtonTriggerMode
298
+ *
299
+ * @discussion The different latency modes that you can configure the Flic button to use.
300
+ *
301
+ */
302
+ typedef NS_ENUM(NSInteger, FLICLatencyMode)
303
+ {
304
+ /**
305
+ * This is the default mode of the button. It will give you a good compromise between click latency (less than 105 ms while connected) and current consumption.
306
+ */
307
+ FLICLatencyModeNormal = 0,
308
+ /**
309
+ * Using this mode will give your button the lowest possible click latency (typicaly less than 30 ms while connected).
310
+ * This mode will significantly increase the current consumption.
311
+ */
312
+ FLICLatencyModeLow,
313
+ };
314
+
296
315
  #endif /* FLICEnums_h */