mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2026-04-24 06:57:05 -05:00
* Implement USB for Old DS and 3DS CCs * Update Readme and everything else to account for new devices * Handle no serial number * Reduce jitter on lower powered devices Thanks to https://github.com/nn9dev and loopy for older CCs testing There seem to be slowdowns on Windows when using the older CCs. Will need to figure that out.
22 lines
704 B
C++
Executable File
22 lines
704 B
C++
Executable File
#ifndef __USB_DS_3DS_CAPTURE_HPP
|
|
#define __USB_DS_3DS_CAPTURE_HPP
|
|
|
|
#include <vector>
|
|
#include "utils.hpp"
|
|
#include "hw_defs.hpp"
|
|
#include "capture_structs.hpp"
|
|
#include "display_structs.hpp"
|
|
|
|
#define USE_USB
|
|
|
|
void list_devices_usb_ds_3ds(std::vector<CaptureDevice> &devices_list);
|
|
bool connect_usb(bool print_failed, CaptureData* capture_data, CaptureDevice* device);
|
|
void usb_capture_main_loop(CaptureData* capture_data);
|
|
void usb_capture_cleanup(CaptureData* capture_data);
|
|
void usb_convertVideoToOutput(CaptureReceived *p_in, VideoOutputData *p_out, CaptureDevice* capture_device, bool enabled_3d);
|
|
uint64_t usb_get_video_in_size(CaptureData* capture_data);
|
|
void usb_init();
|
|
void usb_close();
|
|
|
|
#endif
|