Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
Package pluginbase.Objects.Input

Classes

interface  IBoundInput
 Interface that represents an input binding that is bound to the input manager to receive input Note: This object is ref-tracked, meaning that if it's not pinned, and there's no variable that holds it, it will be removed More...
 
interface  IInputBinding
 Class that allows you to bind to keys and mouse buttons More...
 
interface  IInputManager
 Class that handles routing and key binds for all user input More...
 
class  InputAttribute
 Wrapper class to be used with extension 'BindInputMethods' Provides a convenient way to trigger methods for an IInputTypeBinding when a state changes More...
 
class  InputExtensions
 Extensions for input management More...
 

Enumerations

enum  InputDirection { InputDirection.Undefined = 0, InputDirection.Down = 1, InputDirection.Up = 2, InputDirection.Both = Down | Up }
 Specifies the direction of an input key or mouse bind More...
 
enum  MouseMode { MouseMode.None =0, MouseMode.Absolute, MouseMode.Relative }
 Enumeration that represents how a mouse will be captured for a given input binding More...
 

Functions

delegate void MouseWheelAction (int x, int y, int delta)
 
delegate void MouseMoveAction (int x, int y)
 

Enumeration Type Documentation

Specifies the direction of an input key or mouse bind

Attribute: Flags

Enumerator
Undefined 

Undefined

Down 

Down

Up 

Up

Both 

Up or down

Enumeration that represents how a mouse will be captured for a given input binding

Enumerator
None 

Mouse movement will not be captured

Absolute 

Mouse movement will be captured in window coordinates

Relative 

Mouse movement will be captured as relative movements (eg FPS camera)

9  {
13  None=0,
14 
18  Absolute,
19 
23  Relative
24  }
Mouse movement will be captured in window coordinates
Mouse movement will not be captured
Mouse movement will be captured as relative movements (eg FPS camera)

Function Documentation

delegate void pluginbase.Objects.Input.MouseMoveAction ( int  x,
int  y 
)
delegate void pluginbase.Objects.Input.MouseWheelAction ( int  x,
int  y,
int  delta 
)