Skip to content

Conversation

john-h-k
Copy link

@john-h-k john-h-k commented Aug 1, 2019

Summary of the PR

Fix the get methods to a) work properly and b) work nicely

Further Comments

These methods in themselves are abominations, and just a weird rewrite of indexing (Get(p, 11) is exactly equivalent to p[11]). Seems logical to remove them if not part of current public API

@john-h-k
Copy link
Author

john-h-k commented Aug 1, 2019

Entirely removed the get methods given they are only used twice

@Perksey
Copy link
Member

Perksey commented Aug 1, 2019

I think we've already done this on the glfw-input branch actually on one of the more recent commits

@john-h-k
Copy link
Author

john-h-k commented Aug 1, 2019

I pulled the glfw-input branch and edited it on that

@Perksey
Copy link
Member

Perksey commented Aug 1, 2019

Ah ok, I thought I got them all! Will double check this and then merge it in. :)

@Perksey Perksey merged commit 5ae7fc1 into dotnet:glfw-input Aug 1, 2019
@john-h-k john-h-k deleted the glfw-input branch August 2, 2019 07:41
Perksey added a commit that referenced this pull request Aug 4, 2019
* Start of the GLFW Input implementation

* A start I guess, it's messy and all over the place

* Additional work on GLFW input (#26)

* Move ApplyDeadzone to Deadzone struct

* Add test program, move ConnectionChanged to IInputContext

* Add functionality to test program

* More input work

* Add an .editorconfig

* ThumbstickCollection

* ButtonCollection

* Hat and Trigger collection

* Update collections

* joystick axis cache

* Update cached axis

* Update GlfwJoystick.cs

* Joystick cache

* AxisCollection

* GamePad and Joystick cache

* GamepadFix

* GamePad Updates

* Bracket fix

* work

* Thumbstick update

* Gamepad implementation

* nitpick

* update test program

* Update dispatcher

* Only show window when running

* Fix context not being passed to enumerator

* Fix a marshalling bug

* Apply deadzone

* Enumerate over the disconnected joysticks too.

* Update the test app.

* Controller events fix

* wip

* Use indexers on the pointers

* Fix mismatched enumerant names in GLFW

* Destroy window when we're done

* Fix wrong enum values in GLFW

* Make properties update initialOptions, and only invoke GLFW if running

* Window is immovable when only 1 thread is used, investigate WindowUpdate

* Fix `Get` methods (#30)

* Fix the abominations that were `Get()` methods

* Remove Get methods entirely

* Fully implement mice, fix deadlock issues

* This is GLFW input.

* Update GlfwInputContext.cs

* Update Silk.NET.Input.Desktop.csproj

* Update GlfwInputContext.cs

* Update InputHandler.cs

* Update GlfwInputContext.cs
silkdotnet pushed a commit that referenced this pull request Dec 25, 2022
silkdotnet pushed a commit that referenced this pull request Dec 25, 2022
silkdotnet pushed a commit that referenced this pull request Dec 25, 2022
silkdotnet pushed a commit that referenced this pull request Dec 25, 2022
silkdotnet pushed a commit that referenced this pull request Dec 25, 2022
silkdotnet pushed a commit that referenced this pull request Dec 25, 2022
silkdotnet pushed a commit that referenced this pull request Dec 25, 2022
silkdotnet pushed a commit that referenced this pull request Dec 26, 2022
silkdotnet pushed a commit that referenced this pull request Dec 26, 2022
silkdotnet pushed a commit that referenced this pull request Dec 26, 2022
silkdotnet pushed a commit that referenced this pull request Dec 26, 2022
silkdotnet pushed a commit that referenced this pull request Dec 26, 2022
silkdotnet pushed a commit that referenced this pull request Dec 26, 2022
silkdotnet pushed a commit that referenced this pull request Dec 26, 2022
silkdotnet pushed a commit that referenced this pull request Dec 26, 2022
silkdotnet pushed a commit that referenced this pull request Dec 26, 2022
silkdotnet pushed a commit that referenced this pull request Dec 26, 2022
Beyley pushed a commit that referenced this pull request Jan 9, 2023
…ov 16 23:37:59 UTC 2022 (#1204)

Co-authored-by: The Silk.NET Automaton <9011267+dotnet-bot@users.noreply.github.com>
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
silkdotnet pushed a commit that referenced this pull request Jan 9, 2023
Beyley pushed a commit that referenced this pull request Jan 9, 2023
…ov 16 23:37:59 UTC 2022 (#1207)

Co-authored-by: The Silk.NET Automaton <9011267+dotnet-bot@users.noreply.github.com>
silkdotnet pushed a commit that referenced this pull request Jan 11, 2023
silkdotnet pushed a commit that referenced this pull request Jan 11, 2023
silkdotnet pushed a commit that referenced this pull request Jan 12, 2023
silkdotnet pushed a commit that referenced this pull request Jan 12, 2023
silkdotnet pushed a commit that referenced this pull request Jan 12, 2023
silkdotnet pushed a commit that referenced this pull request Jan 12, 2023
silkdotnet pushed a commit that referenced this pull request Jan 12, 2023
silkdotnet pushed a commit that referenced this pull request Jan 12, 2023
Beyley pushed a commit that referenced this pull request Jan 12, 2023
…ov 16 23:37:59 UTC 2022 (#1214)

Co-authored-by: The Silk.NET Automaton <9011267+dotnet-bot@users.noreply.github.com>
Beyley pushed a commit that referenced this pull request Mar 12, 2023
…ov 16 23:37:59 UTC 2022 (#1204)

Co-authored-by: The Silk.NET Automaton <9011267+dotnet-bot@users.noreply.github.com>
Beyley pushed a commit that referenced this pull request Mar 12, 2023
…ov 16 23:37:59 UTC 2022 (#1207)

Co-authored-by: The Silk.NET Automaton <9011267+dotnet-bot@users.noreply.github.com>
Beyley pushed a commit that referenced this pull request Mar 12, 2023
…ov 16 23:37:59 UTC 2022 (#1214)

Co-authored-by: The Silk.NET Automaton <9011267+dotnet-bot@users.noreply.github.com>
Beyley pushed a commit that referenced this pull request Mar 29, 2023
…ov 16 23:37:59 UTC 2022 (#1204)

Co-authored-by: The Silk.NET Automaton <9011267+dotnet-bot@users.noreply.github.com>
Beyley pushed a commit that referenced this pull request Mar 29, 2023
…ov 16 23:37:59 UTC 2022 (#1207)

Co-authored-by: The Silk.NET Automaton <9011267+dotnet-bot@users.noreply.github.com>
Beyley pushed a commit that referenced this pull request Mar 29, 2023
…ov 16 23:37:59 UTC 2022 (#1214)

Co-authored-by: The Silk.NET Automaton <9011267+dotnet-bot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants