mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2026-03-30 14:14:32 -05:00
15 lines
328 B
C++
15 lines
328 B
C++
#ifndef __USB_GENERIC_HPP
|
|
#define __USB_GENERIC_HPP
|
|
|
|
#ifdef USE_LIBUSB
|
|
#include <libusb.h>
|
|
libusb_context* get_usb_ctx();
|
|
#endif
|
|
|
|
void usb_init();
|
|
void usb_close();
|
|
bool usb_is_initialized();
|
|
int get_usb_total_filtered_devices(const uint16_t valid_vids[], size_t num_vids, const uint16_t valid_pids[], size_t num_pids);
|
|
|
|
#endif
|