C# Class AGENT.Contrib.Hardware.CombinationAgentButtonListener

Handles detection of simultaneous button presses.
NOTE: Consuming classes will have issues if they are detecting both double and triple presses (IE, (A+B | A+C | B+C) & A+B+C), because the double button event will occur first, followed by the triple button event.
Afficher le fichier Open project: nothingmn/AGENT.Contrib

Méthodes publiques

Méthode Description
CombinationAgentButtonListener ( ) : System
CombinationAgentButtonListener ( AgentButtonListener listener ) : System
Dispose ( ) : void

Private Methods

Méthode Description
Dispose ( bool disposing ) : void
GetPressedButtons ( ) : Hashtable
OnAgentButtonListenerPressed ( AgentButton button, InterruptPort port, AgentButtonState state, System.DateTime time ) : void

Method Details

CombinationAgentButtonListener() public méthode

public CombinationAgentButtonListener ( ) : System
Résultat System

CombinationAgentButtonListener() public méthode

public CombinationAgentButtonListener ( AgentButtonListener listener ) : System
listener AgentButtonListener
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void