Input System  v0.1
ISX.InputRemoting Class Reference

Makes the activity and data of an InputManager observable in message form. More...

Inherits ISX.Net35Compatibility.IObservable< out out T >, and ISX.Net35Compatibility.IObserver< in in T >.

Classes

struct  Message
 A message exchanged between two InputRemoting instances. More...
 

Public Types

enum  MessageType
 Enumeration of possible types of messages exchanged between two InputRemoting instances. More...
 

Public Member Functions

void StartSending ()
 Start sending messages for data and activity in the local input system to observers. More...
 

Detailed Description

Makes the activity and data of an InputManager observable in message form.

Can act as both the sender and receiver of these message so the flow is fully bidirectional, i.e. the InputManager on either end can mirror its templates, devices, and events over to the other end. This permits streaming input not just from the player to the editor but also feeding input from the editor back into the player.

Remoting sits entirely on top of the input system as an optional piece of functionality. In development players and the editor, we enable it automatically but in non-development players it has to be explicitly requested by the user.

To see devices and input from players in the editor, open the Input Debugger through "Windows >> Input Debugger".

See also
InputSystem.remoting
Todo:

Reuse memory allocated for messages instead of allocating separately for each message.

Inteface to determine what to mirror from the local manager to the remote system.

Member Enumeration Documentation

◆ MessageType

Enumeration of possible types of messages exchanged between two InputRemoting instances.

Member Function Documentation

◆ StartSending()

void ISX.InputRemoting.StartSending ( )

Start sending messages for data and activity in the local input system to observers.

See also
sending, StopSending