Skip to content

Commit 31ca086

Browse files
committed
Assign properties
1 parent e69e42e commit 31ca086

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

engine/Orbit.Input/Platforms/Windows/GameController.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ public partial class GameController
99
public GameController(Gamepad gamepad)
1010
{
1111
this.gamepad = gamepad;
12+
13+
Dpad = new Stick(this, nameof(Dpad));
14+
LeftStick = new Stick(this, nameof(LeftStick));
15+
RightStick = new Stick(this, nameof(RightStick));
16+
17+
LeftShoulder = new Shoulder(this, nameof(LeftShoulder));
18+
RightShoulder = new Shoulder(this, nameof(RightShoulder));
1219
}
1320

1421
private void Update()

0 commit comments

Comments
 (0)