hal >> keypress emulation

More
5 years 7 months ago #202407 by robertspark
is there a way built in within the hal to emulate a keypress?

I am aware of this python library which could be easily used / integrated as a new component, but was wondering if there was something else already available (i'd hate to reinvent the wheel.....)

pypi.org/project/keyboard/

thanks in advance

Please note I have a serial keypad that I'd like to be able to set up a couple of keys to be able to type Gcode into the mdi, yes I know I can use a bog standard keyboard, but I was wondering if there was another way via hal that this could be integrated with this serial device.

Rob

Please Log in to join the conversation.

More
5 years 7 months ago #202598 by andypugh
Replied by andypugh on topic hal >> keypress emulation

robertspark wrote: is there a way built in within the hal to emulate a keypress?


Yes, the "sendkeys" compoent can do this.

linuxcnc.org/docs/devel/html/man/man1/sendkeys.1.html

Please Log in to join the conversation.

Time to create page: 0.136 seconds
Powered by Kunena Forum