Update to spice2x-25-10-07 (pre-apply)

> broken commit
This commit is contained in:
[ ]
2025-11-11 04:57:26 +09:00
parent 359716b850
commit 652ad41845
97 changed files with 3164 additions and 1275 deletions
+2
View File
@@ -28,6 +28,8 @@ namespace rawinput {
int TOUCHSCREEN_RANGE_X = 0;
int TOUCHSCREEN_RANGE_Y = 0;
bool DUMP_HID_DEVICES_TO_LOG = false;
bool NAIVE_REQUIRE_FOCUS = true;
bool RAWINPUT_REQUIRE_FOCUS = false;
// set this to something slightly longer than 16.67ms (60Hz) so that I/O can pick it up
// this may need to be adjusted for each game in the future if there is a game that polls less
+5 -1
View File
@@ -28,6 +28,9 @@ namespace rawinput {
extern uint32_t MIDI_NOTE_SUSTAIN;
extern bool NAIVE_REQUIRE_FOCUS;
extern bool RAWINPUT_REQUIRE_FOCUS;
struct DeviceCallback {
void *data;
std::function<void(void*, Device*)> f;
@@ -51,7 +54,6 @@ namespace rawinput {
HotplugManager *hotplug;
std::vector<Device> devices;
HWND input_hwnd = nullptr;
WNDCLASSEX input_hwnd_class {};
std::thread *input_thread = nullptr;
std::thread *flush_thread = nullptr;
@@ -88,6 +90,8 @@ namespace rawinput {
public:
HWND input_hwnd = nullptr;
RawInputManager();
~RawInputManager();