IOS7: Add a tab key to the keyboard accessory view
This commit is contained in:
parent
25ff69c250
commit
bf92167007
1 changed files with 6 additions and 0 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue