Chat on-screen keyboard only when using gamepad
This commit is contained in:
parent
b04e869783
commit
49d1c6c73e
|
@ -933,9 +933,11 @@ Public Class ChatScreen
|
||||||
|
|
||||||
Dim ControllerShown As Boolean = False
|
Dim ControllerShown As Boolean = False
|
||||||
Public Overrides Sub ChangeTo()
|
Public Overrides Sub ChangeTo()
|
||||||
If ControllerHandler.IsConnected() = True And Core.GameOptions.GamePadEnabled = True And ControllerShown = False Then
|
If ControllerHandler.ButtonDown(Buttons.RightShoulder) = True Then
|
||||||
Core.SetScreen(New InputScreen(Me, "", InputScreen.InputModes.Text, "", 38, New List(Of Texture2D), AddressOf Me.GetControllerInput))
|
If ControllerHandler.IsConnected() = True And Core.GameOptions.GamePadEnabled = True And ControllerShown = False Then
|
||||||
ControllerShown = True
|
Core.SetScreen(New InputScreen(Me, "", InputScreen.InputModes.Text, "", 38, New List(Of Texture2D), AddressOf Me.GetControllerInput))
|
||||||
|
ControllerShown = True
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue