Commit graph

6780 commits

Author SHA1 Message Date
Malcolm Still
d360026dfe Remove DRM cursor on Dispose. 2017-06-13 16:53:57 -05:00
Malcolm Still
612b86bd5a Moving the LockSurface after waiting for the page flip stops the rendering glitches on Linux/KMS. 2017-06-13 16:53:57 -05:00
Malcolm Still
f08d210ba3 Some casts required in the absolute motion handler now that the query functions return doubles. 2017-06-13 16:53:57 -05:00
Malcolm Still
64e6346ac4 Mistake in change. The Debug.Print statement should not be there. 2017-06-13 16:53:57 -05:00
Malcolm Still
bbbbc75e75 Relative pointer motion should use the relative (Delta) query functions. 2017-06-13 16:53:57 -05:00
Malcolm Still
9494457c26 Use new axis querying functions to update mouse scroll state. 2017-06-13 16:53:57 -05:00
Malcolm Still
fa8f19a40a Use new Libinput.CreateContext and Libinput.AssignSeat functions in Setup(). 2017-06-13 16:53:57 -05:00
Malcolm Still
8558e86e81 Removed @ symbol from IntPtr name 2017-06-13 16:53:57 -05:00
Malcolm Still
5db38956d6 Pointer coordinate query functions now return doubles. 2017-06-13 16:53:57 -05:00
Malcolm Still
0f65acc165 libinput v0.8 removed libinput_event_pointer_get_axis and replace with libinput_event_pointer_has_axis and libinput_event_pointer_get_axis_value now takes a specified PointerAxis 2017-06-13 16:53:56 -05:00
Malcolm Still
17a7464793 libinput v0.4 removed libinput_udev_create_for_seat and replaced with two functions libinput_udev_create_context and libinput_udev_assign_seat to separately create a context and assign it a seat name. 2017-06-13 16:53:56 -05:00
varon
1e73f38ecd Merge pull request #539 from jeske/issue_488_input_events_fired_more_than_once
fix issue #488, input events fired more than once
2017-06-13 17:28:03 +02:00
David Jeske
6afb2ad58f Revert "Fix duplicate scroll input on windows 10"
This reverts commit 9ef456bf9a.
2017-06-12 09:16:32 -07:00
David Jeske
2d702337d2 Merge branch 'issue_488_input_events_fired_more_than_once' into 488_fix2 2017-06-12 09:16:01 -07:00
David Jeske
3bbd31d66b Fix SetCapture() to use child_window instead of window. As using window was causing spurious WM_MOUSELEAVE events. Also change other mouse events to return IntPtr.Zero when handled 2017-06-11 19:09:50 -07:00
David Jeske
d5b43fb33c treat MouseMove events as handled by returning zero instead of calling DefWindowProc 2017-06-11 18:36:32 -07:00
varon
f1fed27afd Merge pull request #536 from varon/win10-scroll-fix
Fix duplicate scroll input on windows 10
2017-06-12 01:37:06 +02:00
varon
300d4df696 Merge pull request #538 from varon/include-pdb
Add pdb to nuget package
2017-06-12 01:27:13 +02:00
varon
923e051989 Merge pull request #537 from UnknownShadow200/develop
Fix a nameof() using wrong variable in GeneratedVariableIdentifier
2017-06-12 01:20:43 +02:00
varon
2865cd8f45 Add pdb to nuget package 2017-06-12 01:14:07 +02:00
UnknownShadow200
45d032da52 Fix a nameof() using wrong variable in GeneratedVariableIdentifier 2017-06-12 09:10:09 +10:00
varon
9ef456bf9a Fix duplicate scroll input on windows 10 2017-06-12 00:19:39 +02:00
varon
f8ac2565fa Merge pull request #532 from UnknownShadow200/develop
Directly expose the xyz and w fields of Quarternion and Quaterniond
2017-06-11 21:04:11 +02:00
varon
e3d324a9c5 Merge pull request #507 from varon/fscheck_testing
Property-based testing
2017-06-08 13:29:19 +02:00
varon
c3210d4bd3 Merge pull request #6 from Nihlus/fix-equal-approxequal
Add new approximation algorithm and replace current usages in tests
2017-06-08 00:49:22 +02:00
Jarl Gullberg
268c3a0220
Corrected bad search & replace. 2017-06-07 15:24:20 +02:00
Jarl Gullberg
c6335b7aac
Changed all tests to use the new method. 2017-06-07 15:22:52 +02:00
Jarl Gullberg
01bcbf181b
Added check for directly equal inputs. 2017-06-07 15:22:37 +02:00
Jarl Gullberg
87de6dda4d
Merged new equivalence function. 2017-06-07 14:27:36 +02:00
UnknownShadow200
2179625b3b Directly expose the xyz and w fields of Quarternion and Quaterniond
This addresses github issue #501. They replace the Xyz and W properties, which breaks backwards binary compatibility.
2017-06-05 18:09:08 +10:00
Jarl Gullberg
fb71ebcffe
Added new and improved floating-point equality tester. 2017-06-04 19:06:03 +02:00
Jarl Gullberg
6d0f3eb973
Added new and improved floating-point equality tester. 2017-06-04 19:05:43 +02:00
Jarl Gullberg
4ae58b3073
Changed some Equals to ApproximatelyEquals. 2017-06-03 22:42:39 +02:00
varon
ecdd0cdc0d Merge pull request #4 from Nihlus/fix-division-rounding
Fixed rounding error in division operations.
2017-06-03 20:12:46 +02:00
varon
1d1428c3e4 Merge pull request #5 from Nihlus/fix-vector-componentminmax
Mark Min/Max as obsolete and implement ComponentMin/Max and MagnitudeMin/Max for all vector classes.
2017-06-03 20:12:07 +02:00
Jarl Gullberg
4f50ea8bee
Improved ComponentMin/Max documentation. 2017-06-03 15:14:39 +02:00
Jarl Gullberg
076d016648
Alter division by reference to be by component and not by operator. 2017-06-02 23:09:27 +02:00
Jarl Gullberg
18976c898a
Improve comments. 2017-06-02 22:59:24 +02:00
varon
670feeadbd Merge pull request #3 from Nihlus/fix-vector4-clamp
Fix Vector4 clamping functions
2017-06-02 22:34:23 +02:00
Jarl Gullberg
d27a4671a5
Improved test name. 2017-06-02 22:25:44 +02:00
Jarl Gullberg
b26242d1db
Decreased approximation sensitivity even more. 2017-06-02 20:44:30 +02:00
Jarl Gullberg
0438a0325a
Decreased approximation sensitivity again. 2017-06-02 20:35:14 +02:00
Jarl Gullberg
5191491cdb
Fixed MagnitudeMin test. 2017-06-02 20:34:13 +02:00
Jarl Gullberg
c3fa66eb15
Implemented all ComponentMin/Max and MagnitudeMin/Max tests. 2017-06-02 20:33:00 +02:00
Jarl Gullberg
28bede6ca1
Added filtering for vector generation to only produce valid vectors. 2017-06-02 20:32:16 +02:00
Jarl Gullberg
809e7b4379
Improved documentation. 2017-06-02 20:31:54 +02:00
Jarl Gullberg
bea15cd250
Obsoleted Min/Max methods. 2017-06-02 19:42:08 +02:00
Jarl Gullberg
7c298cc43d
Eliminated additional step for division operations. 2017-06-02 19:32:22 +02:00
Jarl Gullberg
828dfd49fc
Merge branch 'fscheck-testing-rebased' into fix-vector4-clamp 2017-06-02 19:14:04 +02:00
varon
92d4c942f4 Fix additional compile inference errors under VS2015 2017-06-02 13:56:11 +02:00