Program Listing for File linux_input.hpp
↰ Return to documentation for file (include/input/linux/linux_input.hpp)
#pragma once
#include "Input_State.hpp"
#include "PDJE_Input_DataLine.hpp"
#include "PDJE_Input_Device_Data.hpp"
#include "linux_socket.hpp"
#include <nlohmann/json.hpp>
class OS_Input {
private:
PDJE_LINUX::PDJE_Socket socket;
public:
PDJE_INPUT_DATA_LINE
PullOutDataLine()
{
return {};
}
bool
kill()
{
return false;
} // todo- impl this
std::vector<DeviceData>
getDevices();
std::string
setDevices(const DEV_LIST &devs);
void
TrigLoop()
{
} // todo- impl this
void
ResetLoop()
{
} // todo- impl this
void
EndSocketTransmission();
OS_Input() = default;
~OS_Input() = default;
};