Wheel.CreateEquationOnDevice Method

Uploads a force equation to the device.

Syntax

public:
uint32 CreateEquationOnDevice(
         unsigned char index,
         String asmCode,
         EquationFlags flags
)  

Parameters

index
Type: unsigned char 

  Index on the device to upload the equation to, in the range [0, 15].

asmCode
Type: String 

  String of force-assembler instructions that define the equation.

flags
Type: EquationFlags 

EquationFlags value that determines how equations are handled when the app receives the input focus. In most cases, this should be set to EquationFlags.Normal.

Return value

Type: uint32 

  Number of bytes remaining for force equations after this equation is created.

Requirements

Namespace: Microsoft.Xbox.Input

Metadata: microsoft.xbox.input.winmd

See also

Reference

Wheel Class

Wheel Members

Microsoft.Xbox.Input Namespace