File tree Expand file tree Collapse file tree 4 files changed +35
-1
lines changed
Expand file tree Collapse file tree 4 files changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ message ProtocolMessage {
3636 CRYPTO_PAIRING_MESSAGE = 34 ;
3737 GAME_CONTROLLER_PROPERTIES_MESSAGE = 35 ;
3838 SET_READY_STATE_MESSAGE = 36 ;
39+ SET_CONNECTION_STATE_MESSAGE = 38 ;
40+ SET_HILITE_MODE_MESSAGE = 40 ;
3941 WAKE_DEVICE_MESSAGE = 41 ;
4042 SEND_PACKED_VIRTUAL_TOUCH_EVENT_MESSAGE = 43 ;
4143 }
@@ -78,5 +80,7 @@ message ProtocolMessage {
7880// optional CryptoPairingMessage cryptoPairingMessage = 39;
7981// optional GameControllerPropertiesMessage gameControllerPropertiesMessage = 40;
8082// optional SetReadyStateMessage setReadyStateMessage = 41;
83+ // optional SetConnectionStateMessage setConnectionStateMessage = 42;
84+ // optional SetHiliteModeMessage setHiliteModeMessage = 44;
8185// optional SendPackedVirtualTouchEventMessage sendPackedVirtualTouchEventMessage = 47;
8286}
Original file line number Diff line number Diff line change @@ -7,5 +7,9 @@ extend ProtocolMessage {
77}
88
99message RegisterForGameControllerEventsMessage {
10- optional int32 inputModeFlags = 1 ;
10+ enum InputModeFlags {
11+ None = 0 ;
12+ }
13+
14+ optional InputModeFlags inputModeFlags = 1 ;
1115}
Original file line number Diff line number Diff line change 1+ syntax = "proto2" ;
2+
3+ import "ProtocolMessage.proto" ;
4+
5+ extend ProtocolMessage {
6+ optional SetConnectionStateMessage setConnectionStateMessage = 42 ;
7+ }
8+
9+ message SetConnectionStateMessage {
10+ enum ConnectionState {
11+ Connected = 2 ;
12+ }
13+
14+ optional ConnectionState state = 1 ;
15+ }
Original file line number Diff line number Diff line change 1+ syntax = "proto2" ;
2+
3+ import "ProtocolMessage.proto" ;
4+
5+ extend ProtocolMessage {
6+ optional SetHiliteModeMessage setHiliteModeMessage = 44 ;
7+ }
8+
9+ message SetHiliteModeMessage {
10+ optional int32 hiliteMode = 1 ;
11+ }
You can’t perform that action at this time.
0 commit comments