diff options
Diffstat (limited to 'platform/windows/os_windows.h')
-rw-r--r-- | platform/windows/os_windows.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/windows/os_windows.h b/platform/windows/os_windows.h index 365808d175..1a41b9d77d 100644 --- a/platform/windows/os_windows.h +++ b/platform/windows/os_windows.h @@ -106,13 +106,16 @@ class OS_Windows : public OS { struct Joystick { + int id; bool attached; DWORD last_axis[JOY_AXIS_COUNT]; DWORD last_buttons; DWORD last_pov; + String name; Joystick() { + id = -1; attached = false; for (int i=0; i<JOY_AXIS_COUNT; i++) { @@ -123,6 +126,7 @@ class OS_Windows : public OS { }; }; + List<Joystick> joystick_change_queue; int joystick_count; Joystick joysticks[JOYSTICKS_MAX]; @@ -156,6 +160,10 @@ class OS_Windows : public OS { void _post_dpad(DWORD p_dpad, int p_device, bool p_pressed); + void _drag_event(int idx,UINT uMsg, WPARAM wParam, LPARAM lParam); + void _touch_event(int idx, UINT uMsg, WPARAM wParam, LPARAM lParam); + + // functions used by main to initialize/deintialize the OS protected: virtual int get_video_driver_count() const; |