Wake up and unlock device when it's being used. A bit messy, pending refactor.

This commit is contained in:
Simo Kinnunen
2014-03-04 18:00:31 +09:00
parent 999e5113bf
commit a25df0b293
6 changed files with 183 additions and 20 deletions

Binary file not shown.

View File

@@ -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;