-
-
Notifications
You must be signed in to change notification settings - Fork 29
Add get_connected_paths_and_names API to more clearly handle multiple devices of different types
#47
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
base: master
Are you sure you want to change the base?
Add get_connected_paths_and_names API to more clearly handle multiple devices of different types
#47
Changes from 8 commits
0d5627c
673b867
7526672
6df6d94
c93d438
7147d32
53185d6
9759c12
4b43ed9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| Focus on backwards compatibility and user experience. | ||
| Point out any API changes. | ||
| Keep your responses very short. | ||
| Do not summarize the changes. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,17 +44,14 @@ | |
| # callback() | ||
|
|
||
|
|
||
| import time | ||
|
|
||
| import pyspacemouse | ||
|
|
||
| success = pyspacemouse.open( | ||
| dof_callback=pyspacemouse.print_state, button_callback=pyspacemouse.print_buttons | ||
| ) | ||
| if success: | ||
| while 1: | ||
| while True: | ||
| state = pyspacemouse.read() | ||
| time.sleep(0.01) | ||
|
|
||
|
peter-mitrano-ar marked this conversation as resolved.
Comment on lines
47
to
55
|
||
| # import pyspacemouse | ||
| # import time | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.