We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49f1b79 commit 0fb2d91Copy full SHA for 0fb2d91
articles/tutorials/building_2d_games/19_user_interface/snippets/game1_initialize.cs
@@ -12,10 +12,10 @@ protected override void Initialize()
12
// use the global content manager from our Core.
13
GumService.Default.ContentLoader.XnaContentManager = Core.Content;
14
15
- // Add the default keyboard controls for UI navigation.
+ // Register keyboard input for UI control.
16
FrameworkElement.KeyboardsForUiControl.Add(GumService.Default.Keyboard);
17
18
- // Add the default gamepad controls for UI navigation.
+ // Register gamepad input for Ui control.
19
FrameworkElement.GamePadsForUiControl.AddRange(GumService.Default.Gamepads);
20
21
// Customize the tab reverse UI navigation to also trigger when the keyboard
0 commit comments