Class InputGenerator

    Definition

    Namespace:
    Tizen.NUI.WindowSystem
    Assembly:
    Tizen.NUI.WindowSystem.dll

    Class for the Tizen Input Generator.

    public class InputGenerator : IDisposable
    Inheritance
    object
    InputGenerator

    Constructors

    View Source

    InputGenerator(DeviceType, string, bool)

    Declaration
    public InputGenerator(InputGenerator.DeviceType devType, string name, bool sync = false)
    Parameters
    Type Name Description
    InputGenerator.DeviceType devType
    string name
    bool sync
    View Source

    InputGenerator(DeviceType)

    Creates a new InputGenerator.

    Declaration
    public InputGenerator(InputGenerator.DeviceType devType)
    Parameters
    Type Name Description
    InputGenerator.DeviceType devType

    The Device type of the new input generator.

    Methods

    View Source

    Dispose()

    Dispose.

    Declaration
    public void Dispose()
    View Source

    Dispose(DisposeTypes)

    Declaration
    protected virtual void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    View Source

    ~InputGenerator()

    Destructor.

    Declaration
    protected ~InputGenerator()
    View Source

    GenerateKey(string, int)

    Generate given key.

    Declaration
    public void GenerateKey(string keyName, int pressed)
    Parameters
    Type Name Description
    string keyName

    The key name to generate.

    int pressed

    Set the key is pressed or released.

    View Source

    GeneratePointer(int, PointerType, int, int)

    Generate given pointer.

    Declaration
    public void GeneratePointer(int buttons, InputGenerator.PointerType pointerType, int x, int y)
    Parameters
    Type Name Description
    int buttons

    The pointer button to generate.

    InputGenerator.PointerType pointerType

    The type of the pointer.

    int x

    X coordinate of the pointer.

    int y

    Y coordinate of the pointer.

    View Source

    GenerateTouch(int, TouchType, int, int)

    Generate given touch.

    Declaration
    public void GenerateTouch(int idx, InputGenerator.TouchType touchType, int x, int y)
    Parameters
    Type Name Description
    int idx

    The touch index to generate.

    InputGenerator.TouchType touchType

    The touch type to generate.

    int x

    X coordinate of the touch.

    int y

    Y coordinate of the touch.

    View Source

    GenerateTouchAxis(int, TouchType, int, int, double, double, double, double, double)

    Generate given touch with axis.

    Declaration
    public void GenerateTouchAxis(int idx, InputGenerator.TouchType touchType, int x, int y, double radius_x, double radius_y, double pressure, double angle, double palm)
    Parameters
    Type Name Description
    int idx

    The touch index to generate.

    InputGenerator.TouchType touchType

    The touch type to generate.

    int x

    X coordinate of the touch.

    int y

    Y coordinate of the touch.

    double radius_x

    radius_x of the touch.

    double radius_y

    radius_y of the touch.

    double pressure

    pressure of the touch.

    double angle

    angle of the touch.

    double palm

    palm of the touch.

    View Source

    GenerateWheel(PointerWheelType, int)

    Generate given wheel.

    Declaration
    public void GenerateWheel(InputGenerator.PointerWheelType wheelType, int value)
    Parameters
    Type Name Description
    InputGenerator.PointerWheelType wheelType

    The wheel type to generate.

    int value

    The value of the wheel.

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX