diff --git a/switch_uart_protocol.h b/switch_uart_protocol.h new file mode 100644 index 0000000..8fc8d79 --- /dev/null +++ b/switch_uart_protocol.h @@ -0,0 +1,10 @@ +#pragma once + +#include + +#include "switch_input.h" + +bool switch_uart_decode_input_frame( + const uint8_t* packet, + uint8_t length, + SwitchInputState* out_state);