mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:23:25 +02:00
Wake up and unlock device when it's being used. A bit messy, pending refactor.
This commit is contained in:
BIN
vendor/InputAgent/InputAgent.apk
vendored
BIN
vendor/InputAgent/InputAgent.apk
vendored
Binary file not shown.
@@ -1,15 +1,18 @@
|
||||
package jp.co.cyberagent.stf.input.agent;
|
||||
package jp.co.cyberagent.stf.input.agent.proto;
|
||||
|
||||
option java_outer_classname = "AgentProto";
|
||||
|
||||
enum InputAction {
|
||||
KEYDOWN = 0;
|
||||
KEYUP = 1;
|
||||
KEYPRESS = 2;
|
||||
TYPE = 3;
|
||||
WAKE = 4;
|
||||
}
|
||||
|
||||
message InputEvent {
|
||||
required InputAction action = 1;
|
||||
required int32 keyCode = 2;
|
||||
optional int32 keyCode = 2;
|
||||
optional bool shiftKey = 3;
|
||||
optional bool ctrlKey = 4;
|
||||
optional bool altKey = 5;
|
||||
Reference in New Issue
Block a user