ArminJo / DigistumpArduino

Improved version of Digistump avr core for Arduino
199 stars 39 forks source link

Where is the documentation for the Digispark keyboard / mouse? #11

Closed elesto closed 3 years ago

elesto commented 3 years ago

I have searched high and low for them but I cant find any. Im looking for explanations on how to use the new digikeyboard / mouse library.

maxgerhardt commented 3 years ago

Do you have a specific question on how to use a part of the library?

Both of the libraries have one example sketch, see examples/ folder in

https://github.com/ArminJo/DigistumpArduino/tree/master/digistump-avr/libraries/DigisparkKeyboard

https://github.com/ArminJo/DigistumpArduino/tree/master/digistump-avr/libraries/DigisparkMouse

The primary documentation would be the code / header file giving you a list of all available functions and their accepted parameters.

https://github.com/ArminJo/DigistumpArduino/blob/master/digistump-avr/libraries/DigisparkKeyboard/DigiKeyboard.h

https://github.com/ArminJo/DigistumpArduino/blob/master/digistump-avr/libraries/DigisparkMouse/DigiMouse.h

elesto commented 3 years ago

For some reason my digispark keyboard example file is not the same as the one you linked. It is missing the //#define layouts and a few other lines. I have updated everything

ArminJo commented 3 years ago

This is correct, the changes are not yet contained in a release.