mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-23 06:15:16 +02:00
30 lines
644 B
Protocol Buffer
30 lines
644 B
Protocol Buffer
package jp.co.cyberagent.stf.proto;
|
|
|
|
option java_outer_classname = "AgentProto";
|
|
|
|
enum InputAction {
|
|
KEYDOWN = 0;
|
|
KEYUP = 1;
|
|
KEYPRESS = 2;
|
|
TYPE = 3;
|
|
WAKE = 4;
|
|
FREEZE_ROTATION = 5;
|
|
THAW_ROTATION = 6;
|
|
}
|
|
|
|
message InputEvent {
|
|
required InputAction action = 1;
|
|
optional int32 keyCode = 2;
|
|
optional bool shiftKey = 3;
|
|
optional bool ctrlKey = 4;
|
|
optional bool altKey = 5;
|
|
optional bool metaKey = 6;
|
|
optional bool symKey = 7;
|
|
optional bool functionKey = 8;
|
|
optional bool capsLockKey = 9;
|
|
optional bool scrollLockKey = 10;
|
|
optional bool numLockKey = 11;
|
|
optional string text = 12;
|
|
optional int32 rotation = 13;
|
|
}
|