0.5 Release available!
What's new:
- New useful methods (
SubscribeAll
, PressCombination
, etc.)
- New subscription types for MouseListener
- Small changes
[Breaking changes]
LeftButtonDoubleClick
has been removed due to unstable operation.
Changelog
KeyboardListener
- Added
SubscribeAll
method, which subscribes to all possible buttons (about 200)
KeyboardManipulator
- Added
PressCombination
method, which accepts IEnumerable<Key>
and synchronously presses specified keyboard buttons
var keyboardManipulator = new KeyboardManipulator();
Key[] paste = { Key.LeftCtrl, Key.V };
keyboardManipulator.PressCombination(paste);
MouseListener
- Added new subscription types:
MiddleButtonDown
, MiddleButtonUp
, Scroll
- Added new generic subscriptions types:
ButtonDown
and ButtonUp
. Which are not bound to a specific button
- Removed
LeftButtonDoubleClick
subscription due to unstable operation
MouseManipulator
- Added new types of prevent:
MiddleButton
and Scroll
- Added a new overload of the
Click
method, which now does not need coordinates. Clicking is based on the current location of the mouse
Other changes
- It is no longer possible to specify
Key.None
as a key. If you try to do so, the user will get an exception