Commit graph

3891 commits

Author SHA1 Message Date
Harry 8fc672ad73 Merge pull request #370 from amulware/improve-gethashcode
improved GetHashCode overrides of float/double Math types, closes #355
2016-03-28 11:20:08 +02:00
amulware e4c6f521e2 improved GetHashCode override of all float and double based Vector/Matrix/Quaternion/Box types 2016-03-16 08:11:13 +01:00
cra0zy 89e6c31a78 Fix axis range 2016-03-16 00:23:42 +01:00
Harry dc54e9bc02 Merge pull request #354 from mrhelmut/RetinaMouseFix2TK
Scaling mouse coordinate to match Retina scaling
2016-03-14 17:29:54 +01:00
Paul Scharf 1c4a18332a Merge pull request #356 from skkestrel/develop
improvements to Math/Box2 and addition of Math/Box2d
2016-03-08 06:03:58 +01:00
kevin 44adf713d2 update license headers 2016-03-07 13:03:03 -08:00
kevin 01bbb0ef34 update license text for Box2* 2016-03-07 12:42:33 -08:00
kevin e0d4fd2e81 remove FromCorners, add Contains overloads 2016-03-06 14:01:11 -08:00
Harry e1ab8f135f Merge pull request #347 from TD25/develop
Fixed few bugs related to getting mouse coordinates
2016-03-06 15:59:46 +01:00
TD25 e5ab1ae791 Fixed few bugs related to getting mouse coordinates 2016-03-06 18:47:19 +02:00
kevin adeda6b7d1 distinguish between Translate and Translated 2016-03-02 20:35:20 -08:00
kevin 1e81187aeb normalize indentation 2016-03-02 20:27:03 -08:00
kevin 9a923954f6 add double precision Box2 2016-03-02 20:22:52 -08:00
kevin 3008a25ef3 add more functionality to Box2 2016-03-02 18:56:43 -08:00
mrhelmut 7b73fe4193 Scaling mouse coordinate to match Retina scaling 2016-02-29 17:22:31 +01:00
Thomas Altenburger f996c8d2c7 Gamepad mapping update 2016-02-26 11:01:32 +01:00
Paul Scharf 15d0dc647b Merge pull request #350 from mrhelmut/GamePadYFix
Invert Y axis on all GamePad
2016-02-26 10:00:21 +01:00
Harry f2d1bd1db5 Merge pull request #352 from mrhelmut/SDL2GamePadInstanceId
Fix SDL2 instance enumeration and mapping
2016-02-25 23:42:25 +01:00
Thomas Altenburger 6998f94a39 Fix SDL2 instance enumeration and mapping 2016-02-25 23:05:01 +01:00
Thomas Altenburger 0ab980bfe7 Deactivate screensaver on SDL2 2016-02-25 23:02:01 +01:00
amulware 05938d70ba removed confusing Vector3 Matrix4 interactions introduced with #331 2016-02-25 16:38:00 +01:00
cra0zy 3d58a0b50a Fix tabs/spaces and righthandtransform caused by #331 2016-02-20 21:01:39 +01:00
Matthias 96fb7b7846 Updated docs 2016-02-20 15:24:02 +02:00
Matthias b14845a749 Added missing operator for Vector3 * Matrix4 2016-02-20 15:18:12 +02:00
Matthias 2989ea1c3a Added operators for Mat * Vec 2016-02-20 15:16:37 +02:00
Matthias 22b33ab735 Added the non-ref RightHandedTransform 2016-02-20 15:06:18 +02:00
Matthias 256bf73c39 Added RightHandedTransform 2016-02-20 15:00:21 +02:00
Matthias 75d7e9c718 Swapped order of parameters for Vec Mat multiplication operator 2016-02-20 14:34:59 +02:00
Matthias 33d4731718 Merge remote-tracking branch 'upstream/develop' into develop 2016-02-20 13:44:23 +02:00
cra0zy b944d92754 [Linux X11] Fix incorrect window state if it was set while the window was invisible 2016-02-19 18:06:09 +01:00
Thomas Altenburger b29bc2f534 Fixes keyboard being recognized as 2 HID devices 2016-01-08 13:16:38 +01:00
Thomas Altenburger 8488bb6229 Fix HID WinRaw driver to handle PS4 controller 2016-01-08 11:43:39 +01:00
Thomas Altenburger 32b0c8e985 Fix PS4 controller mapping on Windows 2016-01-08 11:43:05 +01:00
Thomas Altenburger d0efd76edf Invert Y axis on all GamePad 2016-01-08 09:13:26 +01:00
Matthias 66cd883fb4 Multiplication operator for Matrix-Vector transformation and Quaternion-Vector transformations 2016-01-04 12:34:02 +02:00
Benjamin Ward 55bd342417 Fix documentation for NativeWindow.WindowBorder 2016-01-02 12:04:14 -05:00
Benjamin Ward a87b79fca2 Fix documentation for NativeWindow.WindowState 2016-01-02 12:00:01 -05:00
Benjamin Ward 22222b003a Fix documentation for NativeWindow.Width 2016-01-02 11:40:16 -05:00
Fraser Waters f0de8333a6 Merge pull request #199 from Frassle/anydown
[Input] Add IsAnyKey/ButtonDown to Keyboard/MouseState.
2015-12-28 00:16:37 +00:00
Fraser Waters a1ff0d949f Merge pull request #319 from cra0zy/joyid
Make joystick ID public
2015-12-06 14:23:46 +00:00
cra0zy 306b9ff936 Make joystick ID public 2015-12-06 13:43:46 +01:00
leezer3 b0dbb7de7f Align whitespace for SDL2 KeypadEnter fix.... 2015-12-05 23:54:42 +00:00
leezer3 a2ece2c9fb Fix: KP_ENTER key missing from SDL2 keymap. 2015-12-04 23:49:15 +00:00
leezer3 df690c6f7b Fix: Insert key not working on Linux, due to typo in X11KeyMap.cs 2015-11-14 22:23:40 +00:00
Benjamin Klettbach feae3791fe Fix build configuration "Nsis"
- Generator.Rewrite can be build with Nsis
- OpenTK project can be build with Nsis and is getting rewritten with
  Rewrite.exe
2015-10-26 14:33:18 +01:00
Fraser Waters a1cc67c70e [Win32] Fix spurious mouse enter and leave messages
Mouse tracking and mouse capture didn't work well together. Mouse capture was
also buggy in that it could release capture prematurely.

Mouse capture is now counted and tracked better, multiple requests to set
capture will only call SetCapture once. ReleaseCapture will only be called once
the same number of releases have been made as sets.
MW_MOUSELEAVE messages are now ignored if the mouse is captured.
Mouse tracking is renabled when mouse capture is released.
While the mouse is captured enter and leave events are genereated based on
tracking of the mouse inside MouseMove.

Fixes #301
2015-10-17 17:00:41 +01:00
Fraser Waters 616ac5a017 [GL] Add overloads for ProgramUniform
Fixes #293
2015-10-11 17:55:36 +01:00
Fraser Waters d1654d70d5 [X11] Fix CursorVisible
Change X11 CursorVisible to only execute if a change is actually needed,
that is if we're going from visible to not visible or vice versa.

Fixes #281
2015-08-21 23:58:00 +01:00
Dean Ellis 69e2f36725 Removed NO_SYSDRAWING in favour of just MINUMAL
Reverted changes to GLControl.cs
Updated sln to not build OpenTK.GLControl in MINIMAL mode
2015-08-12 11:56:12 +01:00
Dean Ellis c7e86d467b Fixed MINIMAL and NO_SYSDRAWING compilation 2015-08-12 11:53:20 +01:00