IGipGameControllerInputSink IGipGameControllerInputSink IGipGameControllerInputSink IGipGameControllerInputSink Interface

Definition

Defines the methods necessary for a custom Gip controller interface.

public : interface IGipGameControllerInputSinkpublic interface IGipGameControllerInputSinkPublic Interface IGipGameControllerInputSink// This API is not available in Javascript.
Inheritance
IGipGameControllerInputSinkIGipGameControllerInputSinkIGipGameControllerInputSinkIGipGameControllerInputSink
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Inherited Members

Inherited methods

Methods

OnKeyReceived(UInt64, Byte, Boolean) OnKeyReceived(UInt64, Byte, Boolean) OnKeyReceived(UInt64, Byte, Boolean) OnKeyReceived(UInt64, Byte, Boolean)

Event raised when a key is received.

public : void OnKeyReceived(unsigned __int64 timestamp, Byte keyCode, bool isPressed)public void OnKeyReceived(UInt64 timestamp, Byte keyCode, Boolean isPressed)Public Function OnKeyReceived(timestamp As UInt64, keyCode As Byte, isPressed As Boolean) As void// This API is not available in Javascript.
Parameters
timestamp
unsigned __int64 UInt64 UInt64 UInt64

Timestamp for the event.

keyCode
Byte Byte Byte Byte

The key code for the button that raised the event.

isPressed
bool Boolean Boolean Boolean

Boolean indicating whether the key is pressed or released.

OnMessageReceived(UInt64, GipMessageClass, Byte, Byte, Byte[]) OnMessageReceived(UInt64, GipMessageClass, Byte, Byte, Byte[]) OnMessageReceived(UInt64, GipMessageClass, Byte, Byte, Byte[]) OnMessageReceived(UInt64, GipMessageClass, Byte, Byte, Byte[])

Event raised when a message is received.

public : void OnMessageReceived(unsigned __int64 timestamp, GipMessageClass messageClass, Byte messageId, Byte sequenceId, Byte[] messageBuffer)public void OnMessageReceived(UInt64 timestamp, GipMessageClass messageClass, Byte messageId, Byte sequenceId, Byte[] messageBuffer)Public Function OnMessageReceived(timestamp As UInt64, messageClass As GipMessageClass, messageId As Byte, sequenceId As Byte, messageBuffer As Byte[]) As void// This API is not available in Javascript.
Parameters
timestamp
unsigned __int64 UInt64 UInt64 UInt64

Timestamp of the event.

messageClass
GipMessageClass GipMessageClass GipMessageClass GipMessageClass

The class of the message.

messageId
Byte Byte Byte Byte

The ID of the message.

sequenceId
Byte Byte Byte Byte

Sequence ID of the message.

messageBuffer
Byte[] Byte[] Byte[] Byte[]

Buffer containing the message.

See Also