mousetrap icon indicating copy to clipboard operation
mousetrap copied to clipboard

Extending documentation

Open Jeach opened this issue 6 years ago • 1 comments

I'm searching for a keyboard library and yours seem great. But at first glance at the documentation, I can't see anywhere that would allow me to bind all alphabet characters, such as 'a-z' or 'A-Z' and numbers, such as '0-9'.

I don't want to bind for each of the 26 letters, plus numbers. Is that what is assumed?

Additionally, once I bound the keyboard alphabet (ie: 'a-z' and 'A-Z'), how do receive such events in the handler? There doesn't seem to be an example of you actually "consuming" the event, other than to statically output a string to console.

Please help to enrich your documentation so that we (developers) can quickly be up and running.

Great work BTW!

Jeach avatar Feb 19 '18 19:02 Jeach

Is binding just numbers like 0-9 supported?

waliurjs avatar Mar 29 '19 19:03 waliurjs