keyboardio / KeyboardioHID

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

Conform to Kaleidoscope C++ coding style #66

Closed gedankenexperimenter closed 3 years ago

gedankenexperimenter commented 3 years ago

This updates the code in KeyboardioHID to (roughly) use the coding style of Kaleidoscope. In a few places, I didn't bother, and in some cases, it wasn't possible (because of the interface with Arduino code).

Notably, I changed the make astyle target to call astyle with the same options used in Kaleidoscope, via a .astylerc file and the --project option. Other than that, there should be no code changes other than refactoring variable names.

obra commented 3 years ago

Thanks!