mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-06-26 04:32:25 +02:00
Add a preferred position for selectAll
This commit is contained in:
parent
1d6a115ce4
commit
6c40e0604a
@ -338,6 +338,13 @@ public class ExtraKeysPreference extends PreferenceCategory
|
|||||||
new KeyboardData.KeyPos(2, -1, 8),
|
new KeyboardData.KeyPos(2, -1, 8),
|
||||||
new KeyboardData.KeyPos(-1, -1, 8),
|
new KeyboardData.KeyPos(-1, -1, 8),
|
||||||
});
|
});
|
||||||
|
case "selectAll":
|
||||||
|
return new KeyboardData.PreferredPos(KeyValue.getKeyByName("a"),
|
||||||
|
new KeyboardData.KeyPos[]{
|
||||||
|
new KeyboardData.KeyPos(1, 0, 8),
|
||||||
|
new KeyboardData.KeyPos(1, -1, 8),
|
||||||
|
new KeyboardData.KeyPos(-1, -1, 8),
|
||||||
|
});
|
||||||
case "redo":
|
case "redo":
|
||||||
return new KeyboardData.PreferredPos(KeyValue.getKeyByName("y"),
|
return new KeyboardData.PreferredPos(KeyValue.getKeyByName("y"),
|
||||||
new KeyboardData.KeyPos[]{
|
new KeyboardData.KeyPos[]{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user