Adapting the avr-capsense code to the Kiibohd Controller API
- Adding "template" keymap - Removed "stray" functions, variables - Cleaned up warnings - Now builds - Added buffered macro integration (rather than dealing with USB directly) - Updated the print messages to use the Kiibohd print header TODO - Add generic matrix integration (this will require some changes to the matrix code) - Add more comments...lots more - Clean up dead code
This commit is contained in:
parent
e2197f6b78
commit
4ce6d34cd8
8 changed files with 1744 additions and 1407 deletions
|
@ -78,6 +78,7 @@
|
|||
#define dbug_dPrint(...) dPrintMsg ("1;35", "DEBUG", __VA_ARGS__) // Debug Msg
|
||||
#define dbug_print(str) printMsg ("1;35", "DEBUG", str) // Debug Msg
|
||||
|
||||
|
||||
// Static String Printing
|
||||
#define print(s) _print(PSTR(s))
|
||||
|
||||
|
@ -97,9 +98,9 @@ void printHex_op( uint16_t in, uint8_t op );
|
|||
// String Functions
|
||||
#define hexToStr(hex, out) hexToStr_op(hex, out, 1)
|
||||
|
||||
void int8ToStr ( uint8_t in, char* out );
|
||||
void int16ToStr ( uint16_t in, char* out );
|
||||
void hexToStr_op( uint16_t in, char* out, uint8_t op );
|
||||
void int8ToStr ( uint8_t in, char* out );
|
||||
void int16ToStr ( uint16_t in, char* out );
|
||||
void hexToStr_op( uint16_t in, char* out, uint8_t op );
|
||||
void revsStr ( char* in );
|
||||
uint16_t lenStr ( char* in );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue