diff --git a/README.md b/README.md index e200c28..d30d5f0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ pip install pyglet-cornerpin ## Usage -Create instance for a window, and register the event handlers for dragging the pins. +Create instance for a window, and register the event handlers for dragging the pins. A `on_key_release` is also registered to handle keyboard controls to move the pins. ```python @@ -46,3 +46,5 @@ pins = PygletCornerPin(window, corners) ``` Run [pattern.py](examples/pattern.py) in the examples folder for a demo. + +To use the keyboard, select a pin with number keys 1-4, the use the arrow keys (optionally with ctrl/shift modifier) to move the handle.