Prototype adapter XInput feasibility
This commit is contained in:
parent
fd23842327
commit
17b3d7399c
13 changed files with 953 additions and 13 deletions
17
adapter_host_probe.h
Normal file
17
adapter_host_probe.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "tusb.h"
|
||||
|
||||
enum class AdapterUsbMode : uint8_t {
|
||||
kSwitchProbe,
|
||||
kXInput,
|
||||
};
|
||||
|
||||
void adapter_host_probe_init();
|
||||
AdapterUsbMode adapter_host_probe_mode();
|
||||
void adapter_host_probe_note_string_descriptor(uint8_t index);
|
||||
bool adapter_host_probe_vendor_control(uint8_t rhport, uint8_t stage,
|
||||
tusb_control_request_t const *request);
|
||||
void adapter_host_probe_task();
|
||||
Loading…
Add table
Add a link
Reference in a new issue