-
Notifications
You must be signed in to change notification settings - Fork 111
Add Keyboard class with API to send HID reports; prune constants; change examples #1
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
Changes from 7 commits
01366a7
adde1dd
a877d7d
96d1288
a50f0f0
4a883fa
a129217
9860fe9
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
__pycache__ | ||
_build | ||
*.pyc | ||
__pycache__ | ||
_build | ||
*.pyc | ||
.vscode |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,5 +26,14 @@ | |
|
||
TODO(description) | ||
|
||
* Author(s): Scott Shawcroft | ||
* Author(s): Scott Shawcroft, Dan Halbert | ||
""" | ||
# Import these for convenience so that the user may import the packages classes | ||
# directly without needing to know the file names. | ||
# E.g.: | ||
# from adafruit_hid import Keyboard | ||
|
||
from .keyboard import Keyboard | ||
from .keycode import Keycode | ||
from .mouse import Mouse | ||
from .us_keyboard_layout import USKeyboardLayout | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please remove these. It forces all With these imports:
After removing them:
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oops, yes. I forgot it would parse the whole thing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing a ` after Mouse