diff options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/ios7/ios7_keyboard.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/ios7/ios7_keyboard.mm b/backends/platform/ios7/ios7_keyboard.mm index 6b50252a44..069cbd1900 100644 --- a/backends/platform/ios7/ios7_keyboard.mm +++ b/backends/platform/ios7/ios7_keyboard.mm @@ -64,6 +64,8 @@ [[[UIBarButtonItem alloc] initWithTitle:@"\u2630" style:UIBarButtonItemStylePlain target:self action:@selector(mainMenuKey)] autorelease], // Escape key [[[UIBarButtonItem alloc] initWithTitle:@"Esc" style:UIBarButtonItemStylePlain target:self action:@selector(escapeKey)] autorelease], + // Tab key + [[[UIBarButtonItem alloc] initWithTitle:@"Tab" style:UIBarButtonItemStylePlain target:self action:@selector(tabKey)] autorelease], // Return key [[[UIBarButtonItem alloc] initWithTitle:@"\u23ce" style:UIBarButtonItemStylePlain target:self action:@selector(returnKey)] autorelease], // Function keys @@ -143,6 +145,10 @@ [softKeyboard handleKeyPress:Common::KEYCODE_ESCAPE]; } +- (void) tabKey { + [softKeyboard handleKeyPress:Common::KEYCODE_TAB]; +} + - (void) fn1Key { [softKeyboard handleKeyPress:Common::KEYCODE_F1]; } |