private void my3DxMouse_ButtonEvent(object sender, _3DxMouse._3DxMouse.ButtonEventArgs e) { if ((e.ButtonMask.Pressed & 0x1) == 0x1) { manager.FastMove = true; Mouse3DLabel.BackColor = Color.LightGreen; } else { manager.FastMove = false; Mouse3DLabel.BackColor = Color.Green; } }
private void ButtonEvent(object sender, _3DxMouse._3DxMouse.ButtonEventArgs e) { Debug.WriteLine("Button pressed: " + e.ButtonMask.Pressed.ToString("X")); }