Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MiscFunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, debounce_time): #Takes as an argument the number of opposite
def signal(self, value): #Update the signal.
if value != self.state: #We are receiving a different signal than what we have been.
self.opposite_counter = self.opposite_counter + 1
else: #We are recieving the same signal that we have been
else: #We are receiving the same signal that we have been
self.opposite_counter = self.opposite_counter - 1

if self.opposite_counter < 0: self.opposite_counter = 0
Expand Down Expand Up @@ -100,7 +100,7 @@ def has_thumb(hand): #The level of accuracy with this function is surprisingly
average = sum(distances)/len(distances)
minimum = min(distances)
if average - minimum > 20: #Check if the finger closest to the palm is more than 20mm closer than the average distance
#Note: I have recieved feedback that a smaller value may work better. I do have big hands, however
#Note: I have received feedback that a smaller value may work better. I do have big hands, however
return True
else:
return False
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Movements are associated with commands listed in a file `commands.ini` placed at
4finger: rhythmbox-client --pause
5finger: rhythmbox-client --pause

Every commands could have a different behaviour if 1, 2, 3 ... 10 fingers are recognized but It's recommanded to use the same command for each number of fingers due to a lack of precision with Leap Motion.
Every commands could have a different behaviour if 1, 2, 3 ... 10 fingers are recognized but It's recommended to use the same command for each number of fingers due to a lack of precision with Leap Motion.

###Notes:
This is a spare-time project, so it's not perfect quality. However, I tried to keep the code clean and readable. Let me know if you find any bugs (which there are certainly at least a few of).
Expand Down