public MouseDevice() { _mouse = new MouseHook(); _left = new ButtonDeviceComponent(this) { Name = "Left", State = ButtonState.Up }; _right = new ButtonDeviceComponent(this) { Name = "Right", State = ButtonState.Up }; _middle = new ButtonDeviceComponent(this) { Name = "Middle", State = ButtonState.Up }; _wheel = new DeltaDeviceComponent(this) { Name = "Wheel" }; _cursor = new PositionalDeviceComponent(this) { Name = "Cursor" }; }