Drop orphaned Sleipnir binding_summary and Muninn imports left by the Eve surface removal
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
344de9f9a1
commit
e534ef4937
2 changed files with 3 additions and 26 deletions
|
|
@ -14,13 +14,12 @@ use cultmesh_rs::{
|
|||
CultMeshStreamClock, CultMeshStreamDescriptor, CultMeshStreamKind,
|
||||
};
|
||||
use cultnet_rs::{
|
||||
CultNetMessage, CultNetRawDocumentRecord, CultNetRawPayloadEncoding, CultNetRudpServerHub,
|
||||
CultNetRudpServerHubOptions, CultNetRudpSocketTransportConnection,
|
||||
CultNetRudpSocketTransportOptions, CultNetWireContract,
|
||||
CultNetRudpServerHub, CultNetRudpServerHubOptions, CultNetRudpSocketTransportConnection,
|
||||
CultNetRudpSocketTransportOptions,
|
||||
GAMECULT_MEDIA_STREAM_ADVERTISEMENT_SCHEMA,
|
||||
GAMECULT_MEDIA_STREAM_REQUEST_SCHEMA, GAMECULT_RUNTIME_PRESENCE_HEALTH_SCHEMA,
|
||||
GameCultMediaStreamAdvertisementRecord, GameCultMediaStreamRequestRecord,
|
||||
GameCultRuntimePresenceHealthRecord, decode_cultnet_message_from_slice,
|
||||
GameCultRuntimePresenceHealthRecord,
|
||||
media_stream_request_key, validate_media_stream_request,
|
||||
};
|
||||
use muninn_contracts::{
|
||||
|
|
@ -9897,7 +9896,6 @@ fn parse_move_state_source(value: &str) -> Result<MoveStateSource> {
|
|||
mod tests {
|
||||
use super::*;
|
||||
use crate::media_send::{MediaKind, QueuedMediaGroup};
|
||||
use cultnet_rs::encode_cultnet_message_to_vec;
|
||||
|
||||
fn media_stream_request() -> GameCultMediaStreamRequestRecord {
|
||||
GameCultMediaStreamRequestRecord {
|
||||
|
|
|
|||
|
|
@ -994,27 +994,6 @@ fn hid_state_host_id_from_value(value: &serde_json::Value) -> Option<String> {
|
|||
string_field(payload, &["host_id", "hostId"])
|
||||
}
|
||||
|
||||
fn binding_summary(
|
||||
state: &SleipnirRuntimeState,
|
||||
target: &str,
|
||||
binding_kind: &str,
|
||||
fallback: &str,
|
||||
) -> String {
|
||||
if binding_kind == "axis" {
|
||||
return axis_binding_label(state.axis_map.get(target));
|
||||
}
|
||||
let sources = state
|
||||
.button_map
|
||||
.iter()
|
||||
.filter_map(|(source, mapped)| (mapped == target).then_some(source.as_str()))
|
||||
.collect::<Vec<_>>();
|
||||
if sources.is_empty() {
|
||||
fallback.to_string()
|
||||
} else {
|
||||
sources.join(", ")
|
||||
}
|
||||
}
|
||||
|
||||
fn read_desired_mapping(
|
||||
node: &mut cultmesh_rs::CultMeshNode,
|
||||
options: &Options,
|
||||
|
|
|
|||
Loading…
Reference in a new issue