Skip to content

Commit 9cec269

Browse files
authored
Update README.md
1 parent 50d13bc commit 9cec269

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ NativeHook for jphp.
44

55
## Install
66
```
7-
jppm add nativehook@1.0.4
7+
jppm add nativehook
88
```
99
## Examples
1010
```php
@@ -22,7 +22,7 @@ $hook->on('mouseDown', function(NativeMouseEvent $e){
2222
$hook->on('keyUp', function(NativeKeyEvent $e){
2323
echo "Key {$e->key} is released\n";
2424
});
25-
$hook->on('mouseWheel', function(NativeMouseWheelEven $e){
25+
$hook->on('mouseWheel', function(NativeMouseWheelEvent $e){
2626
echo "Mouse wheel\n";
2727
});
2828

0 commit comments

Comments
 (0)