linuxcnc/tests/multiclick
Sebastian Kuzminsky a307a69fc1 add a component to detect clicks, double-clicks, etc
This one goes up to quadruple clicks.  I find it useful for overloading
the functionality of the hard buttons on the control panel of my mill.

For example, in my config, multi-clicks on the Z+ jog button are detected
and routed to halui, where they trigger MDI commands:

    Double-clicking runs "quill up".

    Triple-clicking runs my "present work" subroutine: quill up and
        bring the table to the front and center for operator access.

    Quadruple-clicking runs my "stow" subroutine: quill up and bring
        the table to the back and center for out-of-the way storage at
        the end of the night.

A debounce component may be advisable between the input signal and the
multiclick component.
2012-12-22 22:26:45 -07:00
..
expected add a component to detect clicks, double-clicks, etc 2012-12-22 22:26:45 -07:00
input-signals add a component to detect clicks, double-clicks, etc 2012-12-22 22:26:45 -07:00
README add a component to detect clicks, double-clicks, etc 2012-12-22 22:26:45 -07:00
test.hal add a component to detect clicks, double-clicks, etc 2012-12-22 22:26:45 -07:00

regression test for multi-click component