Original files: https://github.com/digistump/DigistumpArduino/tree/master/digistump-avr/libraries/DigisparkKeyboard
You need to place the two header files DigiKeyboard.h
and scancode-ascii-table.h
into the DigisparkKeyboard library, inside your Arduino15 folder.
c:\Users\(username)\AppData\Roaming\Arduino15\packages\digistump\hardware\avr\(version)\libraries\DigisparkKeyboard\
c:\Users\(username)\AppData\Local\Arduino15\packages\digistump\hardware\avr\(version)\libraries\DigisparkKeyboard\
/home/(username)/.arduino15/packages/digistump/hardware/avr/(version)/libraries/DigisparkKeyboard/
For sending special characters, such as \[]{}@#
, I modified the DigiKeyboard.h
write function (line ~203), so to make it send the corresponding keystroke combination.
I also updated scancode-ascii-table.h
so to map the correct keycodes to ASCII codes for the italian keyboard layout.
I used these two resources: