Original files: https://github.com/digistump/DigistumpArduino/tree/master/digistump-avr/libraries/DigisparkKeyboard
You just need to place the the 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.
Also I'm using the same scancode-ascii-table.h
as the italian layout since it works perfectly for the spanish layout too.
#Resources
This is a fork from : - https://github.com/Maiux92/digispark-keyboard-layout-italian