mirror of https://github.com/termux/termux-app
Changed: Add `PGUP` and `PGDN` extra keys to repetitive keys so that long holding them triggers page scrolling instead of having to repeatedly press the key to change pages
This commit is contained in:
parent
ba1fb850bf
commit
33295decbb
|
@ -10,7 +10,10 @@ import java.util.Map;
|
||||||
public class ExtraKeysConstants {
|
public class ExtraKeysConstants {
|
||||||
|
|
||||||
/** Defines the repetitive keys that can be passed to {@link ExtraKeysView#setRepetitiveKeys(List)}. */
|
/** Defines the repetitive keys that can be passed to {@link ExtraKeysView#setRepetitiveKeys(List)}. */
|
||||||
public static List<String> PRIMARY_REPETITIVE_KEYS = Arrays.asList("UP", "DOWN", "LEFT", "RIGHT", "BKSP", "DEL");
|
public static List<String> PRIMARY_REPETITIVE_KEYS = Arrays.asList(
|
||||||
|
"UP", "DOWN", "LEFT", "RIGHT",
|
||||||
|
"BKSP", "DEL",
|
||||||
|
"PGUP", "PGDN");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue