From bf36eaf66152e87b31b5495e356f64d7aa68aed6 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 1 Nov 2020 20:47:14 -0600 Subject: [PATCH] Improve soft-keyboard handling --- Limelight/Input/StreamView.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Limelight/Input/StreamView.m b/Limelight/Input/StreamView.m index 0b6ab042..becf9dcc 100644 --- a/Limelight/Input/StreamView.m +++ b/Limelight/Input/StreamView.m @@ -53,6 +53,10 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5; TemporarySettings* settings = [[[DataManager alloc] init] getSettings]; keyInputField = [[UITextField alloc] initWithFrame:CGRectZero]; + [keyInputField setKeyboardType:UIKeyboardTypeASCIICapable]; + [keyInputField setAutocorrectionType:UITextAutocorrectionTypeNo]; + [keyInputField setAutocapitalizationType:UITextAutocapitalizationTypeNone]; + [keyInputField setSpellCheckingType:UITextSpellCheckingTypeNo]; [self addSubview:keyInputField]; #if TARGET_OS_TV