lamp input injector
lamp is a config based input injector used to inject finger or stylus events
Example commands
an example lamp program might look like:
pen rectangle 250 250 1300 1300
pen line 250 250 1300 1300
pen line 250 1300 1300 250
pen circle 600 600 500 50
pen circle 900 900 200 50
pen circle 1100 1100 100 50
pen circle 1200 1200 50 50
and used like lamp < example.in
Commands
- pen down x1 y1
- pen move x1 y1
- pen up
- finger down x1 y1
- finger move x1 y1
- finger up
- pen rectangle x1 y1 x2 y2
- pen line x1 y2 x2 y2
- pen circle x1 y1 r1
- pen circle x1 y1 r1 r2
- pen bezier x1 y1 x2 y2 c1 d1
- pen bezier x1 y1 x2 y2 c1 d1 c2 d2
- swipe left
- swipe right