Class InputGenerator
Definition
- Namespace:
- Tizen.NUI.WindowSystem
- Assembly:
- Tizen.NUI.WindowSystem.dll
Class for the Tizen Input Generator.
public class InputGenerator : IDisposable
- Inheritance
-
objectInputGenerator
Constructors
View SourceInputGenerator(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 |
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 SourceDispose()
Dispose.
Declaration
public void Dispose()
Dispose(DisposeTypes)
Declaration
protected virtual void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
~InputGenerator()
Destructor.
Declaration
protected ~InputGenerator()
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. |
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. |
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. |
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. |
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. |