From 05098bbdacdfa8948e2ec87017612ce73e44113a Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Tue, 11 Aug 2026 12:23:07 +0900 Subject: [PATCH] Define UART decoder Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- switch_uart_protocol.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 switch_uart_protocol.h 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);