Shortcuts Gmoccapy LinuxCNC

More
3 years 1 week ago #283493 by manager12345
Hello everyone I wanted to make hotkeys in Gmoccapy, for convenience and variety. I searched the whole Internet and found nothing, I couldn't even find in the code where the hot keys for movement and e-stop, start, etc. are recorded, maybe I didn't look carefully...The gmoccapy manual even says that this function is disabled and that you can add hotkeys (clause 7.2). Tell me how to implement hotkeys or tell me where in the code to find their implementation?

Please Log in to join the conversation.

More
3 years 1 week ago #283497 by tommylight
Moved to "GmoccaPy " section.

Please Log in to join the conversation.

More
3 years 1 week ago #283535 by HansU
Replied by HansU on topic Shortcuts Gmoccapy LinuxCNC
Search for the function definition "def on_key_event" in gmoccapy.py. There you will find the defined keys and you can add there more as well.

Please Log in to join the conversation.

More
3 years 1 week ago #283564 by manager12345
Okay, thanks, I'll watch. I found more information that you can make h_button and v_button in GladeVCP. Tell me, is it possible on gmoccapy through these virtual GladeVCP buttons to implement hotkeys if it would be a bad idea?

Please Log in to join the conversation.

More
3 years 1 week ago #283584 by HansU
Replied by HansU on topic Shortcuts Gmoccapy LinuxCNC
Sure you can do this.

Please Log in to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum