Spaces:
Runtime error
Runtime error
Delete gesture_matcher.py
Browse files- gesture_matcher.py +0 -8
gesture_matcher.py
DELETED
|
@@ -1,8 +0,0 @@
|
|
| 1 |
-
def match_gesture(finger_states, gesture_rules):
|
| 2 |
-
"""
|
| 3 |
-
Matches finger state with stored gestures
|
| 4 |
-
"""
|
| 5 |
-
for name, info in gesture_rules.items():
|
| 6 |
-
if finger_states == info["pattern"]:
|
| 7 |
-
return name
|
| 8 |
-
return None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|