Update to spice2x-25-10-07 (pre-apply)
> broken commit
This commit is contained in:
@@ -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
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user