in reply to Morse input from keyboard

> Any ideas/suggestions?

As far as I understand your requirements, you'll need an API which allows to bind callbacks to key-up , -down , -press or similar events and measure elapsed time .

If I were you I'd search CPAN for similar "keywords" (no pun intended ;)

Then I'd take a closer look into Tk and similar GUI packages and/or OS automation stuff.

I don't think Perl is offering this without extra XS modules, otherwise we'd have %SIG handlers for such keyboard events.

And that should also turn out to be very OS dependent.

HTH

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^2: Morse input from keyboard (Tk)
by LanX (Saint) on Feb 11, 2020 at 00:37 UTC
    Concerning Tk I found key-press and key-release bindings

    Maybe take example code in this thread for a start.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice