Jarl Gullberg
e9422ab25c
Merge pull request #608 from Nihlus/cleanup-6-keyword-spacing
...
Correct keyword spacing
2017-07-30 17:28:04 +02:00
Jarl Gullberg
b84f4e21c7
Merge pull request #609 from leezer3/RailDriver
...
Windows HID: Implement generic Consumer device which returns a button collection
2017-07-28 13:37:42 +02:00
Jarl Gullberg
7090695ac6
Correct keyword spacing in OpenTK.
2017-07-28 12:29:22 +02:00
Jarl Gullberg
1931919e2e
Use explicit modifiers for Android code.
2017-07-28 12:08:57 +02:00
Jarl Gullberg
016799060a
Use explicit modifiers for iOS code.
2017-07-28 12:06:13 +02:00
Jarl Gullberg
e7620a11b4
Remove regions from iOS and correct brace style.
2017-07-28 12:01:28 +02:00
Jarl Gullberg
15a0d86fe0
Remove regions from Android.
2017-07-28 12:01:12 +02:00
Christopher Lees
bef43af969
Implement generic Consumer device which returns a button collection
2017-07-27 16:39:37 +01:00
varon
bde5badee9
Merge pull request #598 from ppy/no-child-window
...
Remove child_window to support exclusive full screen in more scenarios
2017-07-26 20:05:58 +02:00
UnknownShadow200
6e1d91ed4d
Update bugs/issues urls to point to OpenTK github issues instead of defunct OpenTK.com
2017-07-26 17:20:00 +10:00
Dean Herbert
950cef3eae
Remove child_window to support exclusive full screen in more scenarios
2017-07-25 14:22:29 +09:00
Vlad Kalyuzhny
2fca9b2b13
Fix cursor incorreclty moved out of window
2017-07-25 00:36:33 +03:00
Jarl Gullberg
643df9367f
Removed now empty preprocessor statement.
2017-07-20 21:42:58 +02:00
Jarl Gullberg
094580daa3
Removed unused using statements.
2017-07-20 21:32:51 +02:00
Jarl Gullberg
5b03732763
Merge pull request #575 from Nihlus/cleanup-5-enforce-braces
...
Enforce the use of braces for conditional statements
2017-07-20 21:22:18 +02:00
Jarl Gullberg
0c1901a4dd
Merge pull request #582 from Nihlus/disable-redundant-warnings
...
Disable superfluous warnings in native interop code.
2017-07-20 21:19:29 +02:00
Jarl Gullberg
e4e7fba52a
Add comment for #pragma disable
2017-07-20 19:58:10 +02:00
Jarl Gullberg
04ef9fc262
Remove references to unused function GetWindowDC.
2017-07-20 17:49:44 +02:00
Jarl Gullberg
8dcb252dc9
Corrected preprocessor alignment.
2017-07-20 17:30:46 +02:00
Jarl Gullberg
f4d09e030f
Disable superfluous warnings in native interop code.
2017-07-20 12:57:42 +02:00
Austin Chen
3686203a6a
Fix broken Android and iOS builds
2017-07-19 00:24:43 -07:00
Jarl Gullberg
4f60f95607
Enforced the use of braces for conditional statements.
2017-07-17 19:24:51 +02:00
Jarl Gullberg
5f2d3144c4
Enforced use of explicit private modifiers.
2017-07-17 18:51:54 +02:00
Jarl Gullberg
ee09c798e4
Merge pull request #565 from leezer3/JoystickAxis
...
Change: Bump joystick axis limit to 64 & remove JoystickAxis enum
2017-07-16 22:31:16 +02:00
Christopher Lees
d8512ac2fc
Change: Use MaxAxes, not inlined constants
2017-07-16 20:49:00 +01:00
Christopher Lees
77bbb99f72
Change: Remove unnecessary assignments from OS-X HID driver
2017-07-13 19:06:43 +01:00
Jarl Gullberg
31faf624da
Merge pull request #571 from UnknownShadow200/develop
...
Fix X11 drag-n-drop returning wrong filename, and crashing
2017-07-12 15:28:34 +02:00
Jarl Gullberg
0c585b685c
Merge pull request #567 from Frassle/issue259
...
Wait for XEvents when changing window size
2017-07-12 15:20:14 +02:00
UnknownShadow200
65e59d9f42
Fix X11 drag-n-drop returning wrong filename, and crashing
...
Wrong filename being returned was due to the filename being URL encoded.
Crashing was due to the offset being past the end of the buffer returned from Marshal.AllocHGlobal.
Fixes #570 .
2017-07-12 17:15:33 +10:00
Christopher Lees
b1450bc2f2
Change: Simplify bounds checking
2017-07-11 12:38:05 +01:00
Christopher Lees
ac9a1fb697
New: Add 4-position hat switches to Windows HID driver
2017-07-11 11:58:04 +01:00
Christopher Lees
471dd5bf18
Fix: Some joystick hats not returning centered correctly on Windows HID
2017-07-11 11:47:47 +01:00
Fraser Waters
a7f43f3f05
Wait for XEvents when changing window size
...
Fixes #259
Reading from GameWindow.ClientSize after assigning a new value to it
could often return the old value on X systems.
This was due to ClientSize being set by a ConfigureNotify event sent
by the X server that we would sometimes not during the ProcessEvents
started by the ClientSize setter (due to the asynchronous nature or
client/server).
This commit adds a way to wait for a specific event type in
ProcessEvents. Just before calling ProcessEvents in the ClientSize
setter we set the wait type to ConfigureNotify. This should ensure
that ClientSize will not return until we've received the new size of
the window from the X server and updated our internal values for the
size of the window. Thus when ClientSize is then read immediately
after it is always the new size.
It's likely that some of the other property setters we have which call
ProcessEvents need a similar fix.
2017-07-10 16:57:40 +01:00
Christopher Lees
d00a2f982d
Change: Bump joystick axis limit to 64 & remove JoystickAxis enum
2017-07-09 22:57:51 +01:00
Jarl Gullberg
127c6fd67d
Transformed compatible properties into auto-properties where possible.
2017-07-07 11:52:32 +02:00
Christopher Lees
89ed072d77
Fix file drop string marshalling
2017-07-06 21:44:14 +01:00
Jarl Gullberg
af416b6e3a
Replaced tabs with four spaces across the codebase.
2017-07-05 20:28:30 +02:00
Jarl Gullberg
f11ecd016d
Removed region declarations across the codebase.
2017-07-05 14:09:27 +02:00
Jarl Gullberg
cc928f0e51
Merge pull request #543 from VPeruS/fix-mouse-wheel
...
Fix interop for wheel events(MacOS)
2017-07-05 13:43:38 +02:00
varon
4eb02d3012
Merge pull request #553 from VPeruS/interop-macos-set-position
...
Wrong cast for interop when setting mouse position(MacOS)
2017-07-04 21:42:36 +02:00
varon
09bd2d5d10
Merge pull request #542 from VPeruS/drag-and-drop
...
Drag and drop support
2017-07-04 21:40:26 +02:00
varon
7bf31b18e1
Merge pull request #549 from Nihlus/remove-obsolete-code
...
Remove code marked obsolete
2017-07-04 21:37:15 +02:00
Jarl Gullberg
13494f515c
Merge branch 'develop' into glwidget-gtk3
2017-06-25 13:45:05 +02:00
Jarl Gullberg
2f1e49c667
Set GLXAttribute access to public.
2017-06-25 13:44:01 +02:00
VPeruS
3f1d888ef4
Wrong cast for interop when setting position(MacOS)
2017-06-25 03:43:48 +03:00
Jarl Gullberg
a5581d94af
Removed obsolete functions which accessed the obsolete joystick driver.
2017-06-22 18:34:48 +02:00
Jarl Gullberg
8719556315
Removed obsolete legacy joystick driver.
2017-06-22 18:34:48 +02:00
Jarl Gullberg
92141295cd
Removed obsolete legacy input driver.
2017-06-22 18:34:48 +02:00
Jarl Gullberg
aba454288f
Removed obsolete INativeGLWindow class.
2017-06-22 18:34:48 +02:00
Jarl Gullberg
b4b5016597
Removed CreateGraphicsContext helper wrapper.
2017-06-22 18:34:48 +02:00