mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-08 07:37:41 +00:00
More cursor keys (#933)
This commit is contained in:
parent
e57e2e8de5
commit
bcf2a52d6a
23 changed files with 164 additions and 19 deletions
|
@ -1733,11 +1733,11 @@ public class LatinIME extends InputMethodService implements
|
|||
if (repeatCount > 0) {
|
||||
// No need to feedback when repeat delete/cursor keys will have no effect.
|
||||
switch (code) {
|
||||
case KeyCode.DELETE, KeyCode.ARROW_LEFT, KeyCode.ARROW_UP:
|
||||
case KeyCode.DELETE, KeyCode.ARROW_LEFT, KeyCode.ARROW_UP, KeyCode.WORD_LEFT, KeyCode.PAGE_UP:
|
||||
if (!mInputLogic.mConnection.canDeleteCharacters())
|
||||
return;
|
||||
break;
|
||||
case KeyCode.ARROW_RIGHT, KeyCode.ARROW_DOWN:
|
||||
case KeyCode.ARROW_RIGHT, KeyCode.ARROW_DOWN, KeyCode.WORD_RIGHT, KeyCode.PAGE_DOWN:
|
||||
if (!mInputLogic.mConnection.canForwardDeleteCharacters())
|
||||
return;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue