Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
13 lines
359 B
C
13 lines
359 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "switch_input.h"
|
|
|
|
using SwitchRumbleCallback = void (*)(const uint8_t rumble_data[8]);
|
|
|
|
void switch_protocol_init();
|
|
void switch_protocol_set_input(const SwitchInputState& state);
|
|
void switch_protocol_task();
|
|
bool switch_protocol_is_ready();
|
|
void switch_protocol_set_rumble_callback(SwitchRumbleCallback callback);
|