Files
tyra-linux/engine/inc/irx/irx_loader.hpp
T
2022-07-29 23:11:12 +02:00

37 lines
709 B
C++

/*
# ______ ____ ___
# | \/ ____| |___|
# | | | \ | |
#-----------------------------------------------------------------------
# Copyright 2022, tyra - https://github.com/h4570/tyra
# Licenced under Apache License 2.0
# Wellington Carvalho <wellcoj@gmail.com>
*/
#pragma once
#include <tamtypes.h>
namespace Tyra {
class IrxLoader {
public:
IrxLoader();
~IrxLoader();
/** Load's audio and pad driver */
void loadDefaultDrivers();
void loadUSBDriver();
private:
int applyRpcPatches();
int loadAudio();
int loadPad();
int loadUsb();
void waitUntilUsbDeviceIsReady();
void delay(int count);
};
} // namespace Tyra