You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/proposals/Proposal - Multi-Backend Input.md
+20-21Lines changed: 20 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,11 @@ Proposal API for backend-agnostic, refactored Input via keyboards, mice, and con
3
3
4
4
# Contributors
5
5
- Dylan Perks (@Perksey)
6
-
- Lumi (@Lumi2021)
7
6
8
7
# Current Status
9
8
-[x] Proposed
10
-
-[] Discussed with Working Group
11
-
-[] Approved
9
+
-[x] Discussed with Working Group
10
+
-[x] Approved
12
11
-[ ] Implemented
13
12
14
13
# Design Decisions
@@ -258,23 +257,23 @@ This will be configurable on `Mice` (i.e. via `InputContext.Mice.ClickConfigurat
258
257
Unlike 1.0 and 2.0, this proposal uses `readonly record struct`s as their only argument for the event action. This allows us to provide more information to the event handlers without breaking in the future. These types are farily simple:
This is the part of this proposal that incorporates the ideas in Enhanced Input Events, and is why this proposal supersedes that one.
@@ -715,7 +714,7 @@ public readonly record struct GamepadState
715
714
716
715
`Thumbsticks` contain the two thumbsticks on this gamepad. The X and Y values within this list range from -1 to 1: -1 being leftmost, and 1 being rightmost.
717
716
718
-
`Triggers` contains the two triggers on this gamepad. The values within this list range from 0 to 1: 0 being unpressed, and 1 being fully pressed.
717
+
`Triggers` contains the two triggers on thsi gamepad. The values within this list range from 0 to 1: 0 being unpressed, and 1 being fully pressed.
719
718
720
719
Note the use of the `DualReadOnlyList` type. This is basically just:
0 commit comments