summaryrefslogtreecommitdiff
path: root/scripts/messages
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-10-08 17:06:20 +0300
committerGitHub <noreply@github.com>2024-10-08 17:06:20 +0300
commit6ccae2d0ae977965202ecb45de77e46f8d0312b3 (patch)
tree0819595c2a50aa7066b0c75b49d3b6c31f5636b9 /scripts/messages
parentccc7fffb22b347149bf807b9d92677e5616c5017 (diff)
parent3dca9fc377e855b74a78a5c30464b468dcc82644 (diff)
Merge branch 'develop' into maxim/lua-nearby-avatars
Diffstat (limited to 'scripts/messages')
-rwxr-xr-xscripts/messages/message_template.msg35
-rwxr-xr-xscripts/messages/message_template.msg.sha12
2 files changed, 35 insertions, 2 deletions
diff --git a/scripts/messages/message_template.msg b/scripts/messages/message_template.msg
index 1450c111c2..e1f22343be 100755
--- a/scripts/messages/message_template.msg
+++ b/scripts/messages/message_template.msg
@@ -8,7 +8,7 @@ version 2.0
// for each type is listed below:
// Low: 430
// Medium: 18
-// High: 30
+// High: 32
// PLEASE UPDATE THIS WHEN YOU ADD A NEW MESSAGE!
@@ -9133,3 +9133,36 @@ version 2.0
}
}
+// viewer->sim
+// GameControlInput - input from game controller
+// This message is split into two Variable chunks:
+//
+// AxisData = list of {Index:Value} pairs. Value is an S16 that maps to range [-1, 1].
+// ButtonData = list of indices of pressed buttons
+//
+// Any Axis ommitted from the message is assumed by the receiving Simulator to be unchanged
+// from its last message.
+//
+// Any Button ommitted from the message is assumed by the receiving Simulator to be unpressed.
+//
+// Since GameControlInput messages are sent unreliably: whenenver the changes stop the last
+// message will be resent a few times in the hopes the server finally receives it.
+//
+{
+ GameControlInput High 32 NotTrusted Zerocoded
+ {
+ AgentData Single
+ { AgentID LLUUID }
+ { SessionID LLUUID }
+ }
+ {
+ AxisData Variable
+ { Index U8 }
+ { Value S16 }
+ }
+ {
+ ButtonData Variable
+ { Data Variable 1 }
+ }
+}
+
diff --git a/scripts/messages/message_template.msg.sha1 b/scripts/messages/message_template.msg.sha1
index efa5f3cf48..e38780dc92 100755
--- a/scripts/messages/message_template.msg.sha1
+++ b/scripts/messages/message_template.msg.sha1
@@ -1 +1 @@
-d7915d67467e59287857630bd89bf9529d065199 \ No newline at end of file
+fb225888b50e4c525a33442538f0fe78bbe9cd43 \ No newline at end of file