chore: CRLF to LF

This commit is contained in:
smpn2
2022-12-16 23:18:35 +09:00
parent b7a60638a4
commit 6c914266d9
725 changed files with 131020 additions and 131020 deletions
+33 -33
View File
@@ -1,33 +1,33 @@
#pragma once
#include <cstdint>
#include "hooks/devicehook.h"
namespace games::rb {
class ReflecBeatTouchDeviceHandle : public CustomHandle {
private:
// state
int window_width = 1080;
int window_height = 1920;
// logging
bool log_fps = false;
uint64_t log_time = 0;
int log_frames = 0;
void grid_insert(unsigned char *data, int cursor_x, int cursor_y);
public:
ReflecBeatTouchDeviceHandle(bool log_fps);
bool open(LPCWSTR lpFileName) override;
int read(LPVOID lpBuffer, DWORD nNumberOfBytesToRead) override;
int write(LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite) override;
int device_io(DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer,
DWORD nOutBufferSize) override;
bool close() override;
};
}
#pragma once
#include <cstdint>
#include "hooks/devicehook.h"
namespace games::rb {
class ReflecBeatTouchDeviceHandle : public CustomHandle {
private:
// state
int window_width = 1080;
int window_height = 1920;
// logging
bool log_fps = false;
uint64_t log_time = 0;
int log_frames = 0;
void grid_insert(unsigned char *data, int cursor_x, int cursor_y);
public:
ReflecBeatTouchDeviceHandle(bool log_fps);
bool open(LPCWSTR lpFileName) override;
int read(LPVOID lpBuffer, DWORD nNumberOfBytesToRead) override;
int write(LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite) override;
int device_io(DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer,
DWORD nOutBufferSize) override;
bool close() override;
};
}