I have a GHI-Button module Version 1.3 attached to the Spider Socket 11. (Latest driver Version 4.3.7.10)
When I press and release the button I get only one event on the first press, no event for the release and no further events for pressing and releasing repeatedly. (Same result with two Vers. 1.3 modules).
With a Version 1.4 Button module everything works perfect.
Is this a known issue? Is there an old driver version that I can use with the Vers. 1.3 button modules?
namespace Button_Test
{
public partial class Program
{
void ProgramStarted()
{
button.ButtonPressed += button_ButtonPressed;
button.ButtonReleased += button_ButtonReleased;
}
void button_ButtonReleased(Button sender, Button.ButtonState state)
{
Debug.Print("Button Released");
}
void button_ButtonPressed(Button sender, Button.ButtonState state)
{
Debug.Print("Button Pressed");
}
}
}