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

Create documentation #1

Open
jeff-j-chen opened this issue Mar 27, 2022 · 2 comments
Open

Create documentation #1

jeff-j-chen opened this issue Mar 27, 2022 · 2 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@jeff-j-chen
Copy link

Hello, I greatly appreciate your project as it is allowing me to work with my Adafruit Feather perfectly. However, I think myself and other users would definitely appreciate documentation on the given functions. I tried my best to understand it from the given examples, but a readthedocs page with explanations for what KeyboardReport, Keypress, and all the other functions do and how to use them would be hihgly useful.

@jpconstantineau
Copy link
Owner

I agree that some docs would be very useful. It's been started but sure need lots more work. I would appreciate any help on that.

The functions maps relatively well with the ones in the Bluefruit library here as well as the TinyUSB library here. I don't know if they do have documentation somewhere for these but they would be a good starting point.

One of the key difference is that queues are being used between when the "send" functions are called and when the "processqueues" is used.

I am currently refactoring my keyboard firmware code to use this library and will be able to put some more updates as I get the work progressing.

I would welcome any addition to the documentation or library. Since this is an Arduino Library and that the whole repo gets included as part of the library, I would want to keep the documentation pretty lean (as in just using simple md files) as opposed to a bigger framework included in the repo to be published somewhere else. I would welcome any suggestions how to proceed to keep it lean.

@jeff-j-chen
Copy link
Author

You could create a simple readthedocs page and make a link on the README, I find myself referencing them all the time, especially for Python libraries like pyautogui.

I don't know how much help I can be for writing documentation given that I'm having trouble understanding what the functions do and how to use them, and my knowledge of C++ is very limited. As I familiarize myself with this library I'll see if I can contribute.

@jpconstantineau jpconstantineau added documentation Improvements or additions to documentation good first issue Good for newcomers labels Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants