Click or drag to resize
ButtonInputListener Class
Implements listener for any button like input (bool state) with repeating capabilities
Inheritance Hierarchy
SystemObject
  EmptyKeys.UserInterface.InputInputListenerBoolean
    EmptyKeys.UserInterface.InputRepeatInputListener
      EmptyKeys.UserInterface.InputButtonInputListener

Namespace: EmptyKeys.UserInterface.Input
Assembly: EmptyKeys.UserInterface (in EmptyKeys.UserInterface.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
C#
public class ButtonInputListener : RepeatInputListener

The ButtonInputListener type exposes the following members.

Constructors
  NameDescription
Public methodButtonInputListener
Initializes a new instance of the ButtonInputListener class.
Top
Properties
Methods
  NameDescription
Public methodEnableRepeat
Enables the repeat feature on this listener, listener will repeat KeyDownEvent
(Inherited from RepeatInputListener.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnUpdate
Called when [update].
(Overrides RepeatInputListenerOnUpdate.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Updates this instance.
(Inherited from InputListenerT.)
Top
Events
  NameDescription
Public eventButtonDownEvent
Occurs when [button down event].
Public eventButtonUpEvent
Occurs when [button up event].
Top
Fields
See Also