LuciadCPillar C# 2023.1.04
Luciad.Input Namespace Reference

Namespaces

namespace  Mouse
 
namespace  Touch
 

Classes

class  ClickEvent
 Implementation of luciad::IInputEvent that represents a click event. More...
 
class  DragEvent
 Implementation of luciad::IInputEvent that represents a drag gesture. More...
 
interface  IInputEvent
 Base interface for all input events. More...
 
interface  IInputEventCallback
 A callback class that is called when a luciad::IInputEvent is fired. More...
 
class  InputEventCallbackAdapter
 
struct  KeyCode
 Represents a key in the controller API. More...
 
class  KeyEvent
 Implementation of luciad::IInputEvent that represents keyboard input. More...
 
class  ScreenDistance
 This class is used to represent distances between screen locations. More...
 
class  ScrollEvent
 Implementation of luciad::IInputEvent that represents a scroll gesture (for example using the mouse wheel). More...
 
class  TaskSchedulerAdapter
 

Enumerations

enum  ButtonState { Pressed , Released }
 Possible state of a button or a key. More...
 
enum  EventStatus { Start , InProgress , End }
 Indicates the status of an event. More...
 
enum  ModifierKeys { None = 0 , Alt = 1 , Ctrl = 2 , Shift = 4 }
 Utility class that contains the combination of the modifier keys pressed. More...
 
enum  ScreenDistanceUnit { Pixels , Millimeters }
 Expresses units for length across a display. More...
 

Enumeration Type Documentation

◆ ButtonState

Possible state of a button or a key.

luciad/input/IInputEvent.h 2020.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ButtonState.
Enumerator
Pressed 

When the button or the key is pressed.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ButtonState::Pressed.
Released 

When the button or the key is released.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ButtonState::Released.

◆ EventStatus

Indicates the status of an event.

luciad/input/EventStatus.h 2020.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::EventStatus.
Enumerator
Start 

Used to indicate the start of an event.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::EventStatus::Start.
InProgress 

Used to indicate that the event is in progress.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::EventStatus::InProgress.
End 

Used to indicate the end of an event.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::EventStatus::End.

◆ ModifierKeys

Utility class that contains the combination of the modifier keys pressed.

The modifiers keys are mapped to the following values: None => 0 Alt => 1 Ctrl => 2 Shift => 4

Don't use the hasFlag method if you want to check that there are no modifiers set, instead do

An example usage is:

luciad::KeyCode for the available key codes to use in conjunction with this class.

2020.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ModifierKeys.
Enumerator
None 

No modifiers are pressed.

Alt 

The ALT key.

Ctrl 

The CTRL key.

Shift 

The SHIFT key.

◆ ScreenDistanceUnit

Expresses units for length across a display.

luciad/input/ScreenDistance.h 2022.0

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ScreenDistanceUnit.
Enumerator
Pixels 

Device independent pixels.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ScreenDistanceUnit::Pixels.
Millimeters 

Physical millimeters on the screen.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ScreenDistanceUnit::Millimeters.