keyboardio / KeyboardioHID

A HID library for Arduino
MIT License
34 stars 17 forks source link

Size reduction #4

Closed algernon closed 7 years ago

algernon commented 7 years ago

There are a number of things in KeyboardioHID which are not used by neither the core firmware, nor any plugin, and which would be better implemented as an optional plugin.

Such things are Keyboard.write and the whole asciimap - removing these would save us many bytes. There may be other similar things, which make sense if one wants to be a replacement for the Arduino HID library, but otherwise, they don't.

I think it would be a good idea to go through the library, and remove the unnecessary parts, which could be implemented as Kaleidoscope plugins instead.