Shortcuts Gmoccapy LinuxCNC
- manager12345
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 1
22 Oct 2023 11:44 #283493
by manager12345
Shortcuts Gmoccapy LinuxCNC was created 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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19106
- Thank you received: 6398
22 Oct 2023 12:22 #283497
by tommylight
Replied by tommylight on topic Shortcuts Gmoccapy LinuxCNC
Moved to "GmoccaPy " section.
Please Log in or Create an account to join the conversation.
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.
- manager12345
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 1
23 Oct 2023 03:05 #283564
by manager12345
Replied by manager12345 on topic Shortcuts Gmoccapy LinuxCNC
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.
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.
Time to create page: 0.085 seconds