#pragma once
#include <windows.h>
#include <corecrt_math.h>
#include <string>
#include <map>
#include <iostream>
#include <sstream> 
#include <dinput.h>

#pragma comment(lib, "dinput8.lib")
#pragma comment(lib, "dxguid.lib")

#include "../Structs/Config.h"
#include "../Utils/Utils.h"
#include "../GUI/GUI.h"
#include "../sharedmemory/sharedmemory.h"
namespace input {
	void send_input_mouse_relative(double dx, double dy, AimConfig *cfg);
	void send_input_mouse_event(bool down, AimConfig* cfg);

	bool is_mouse_hidden();

	std::string get_vk_string(int vkCode);
	int get_vk_code(const std::string& name);
	DWORD get_last_pressed_key();
	void send_key(WORD vkCode);
}