Keyboard key to activate a Mesa output

  • slowpoke
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 months 6 days ago - 7 months 6 days ago #344875 by slowpoke
Keyboard key to activate a Mesa output was created by slowpoke
I'm near complete converting another manual lathe (Standard Modern this time) to LinuxCNC.

These programmable keypads are convenient for commonly used key entries to Axis/MDI. From LinuxCNCs perspective they are just another keyboard.

I have a few spare keys and I would like to use one to activate a Mesa output. I can program the key to any key or even key sequence.

Is there a way to make this happen in HAL?

IIRC there is a file somewhere that either defines or lets you redefine key codes, I'm not sure if that will come into play? I suppose choosing an oddball key for this might be advantageous, so a typing a key on the regular keyboard does not inadvertently activate the Mesa output. 

 
Last edit: 7 months 6 days ago by slowpoke. Reason: Formatting

Please Log in or Create an account to join the conversation.

More
7 months 5 days ago #344917 by COFHAL
Replied by COFHAL on topic Keyboard key to activate a Mesa output
Try using the sendkeys component linuxcnc.org/docs/html/man/man1/sendkeys.1.html

Please Log in or Create an account to join the conversation.

Time to create page: 0.039 seconds
Powered by Kunena Forum