blahlicus / animus-family

keyboard firmware family for arduino compatible atmega u series microcontrollers
Apache License 2.0
75 stars 21 forks source link

Teensy 2.0 support #4

Open Cka3 opened 7 years ago

Cka3 commented 7 years ago

Hello, Just discovered your firmware and it sounds great, I want to use it with my hand-wired keyboard, but I'm using teensy 2.0 as my keyboard controller.

And when I try to build firmware I'm getting an error:

\AppData\Local\Temp\arduino_build_252420\sketch\AnimusKeyboard.h:25:17: fatal error: HID.h: No such file or directory

As I understand teensy boards are not supported. If you'll have time please add support for it. Thanks!

blahlicus commented 7 years ago

Hey,

For your information, animus is Arduino based and utilises the relatively new PluggableHID capability which is part of Arduino's core library.

PluggableHID is utilised by animus for the purpose of being able to emulate multiple HID devices (such as multiple keyboards, mouses, remote controls, etc) including animus' core keyboard module, this means, to get animus working with Teensyduino, you would want to look into getting PluggableHID working in Teensyduino, I believe it could be easily done as the Teensy library does include stuff like digitalRead and digitalWrite, so do consider doing it yourself and I'll gladly accept a pull request.

Unfortunately, I am quite busy at the moment due to my day job and work involved with running unikeyboard, so I don't think I will be performing that port any time soon.