Shortcuts Gmoccapy LinuxCNC

More
22 Oct 2023 11:44 #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 or Create an account to join the conversation.

More
22 Oct 2023 12:22 #283497 by tommylight
Moved to "GmoccaPy " section.

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

More
22 Oct 2023 20:38 #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.
The following user(s) said Thank You: manager12345

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

More
23 Oct 2023 03:05 #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 or Create an account to join the conversation.

More
23 Oct 2023 08:57 #283584 by HansU
Replied by HansU on topic Shortcuts Gmoccapy LinuxCNC
Sure you can do this.

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

Moderators: newbynobiHansU
Time to create page: 1.002 seconds
Powered by Kunena Forum