Keyboard shortcut rempaping
- CallumRD1
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 3
24 May 2025 14:02 #329045
by CallumRD1
Keyboard shortcut rempaping was created by CallumRD1
I've been doing a bunch of machining on my freshly built mill running QTDragonHD and there's one thing that is absolutely throwing me off. I have a ton of experience running a Tormach on Path Pilot so I have established muscle memory for smacking the space bar to pause (feed hold) when proofing new code. QTDragonHD doesn't appear to have any shortcuts mapped to the space bar when a program is running.
Is it possible to remap the space bar to be pause (feed hold) when running programs?
Thanks!
Is it possible to remap the space bar to be pause (feed hold) when running programs?
Thanks!
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7929
- Thank you received: 2151
24 May 2025 16:00 #329054
by cmorley
Replied by cmorley on topic Keyboard shortcut rempaping
Which version of linuxcnc are you using?
Please Log in or Create an account to join the conversation.
- CallumRD1
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 3
24 May 2025 16:07 #329056
by CallumRD1
Replied by CallumRD1 on topic Keyboard shortcut rempaping
I'm running version 2.9.3
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7929
- Thank you received: 2151
24 May 2025 16:49 #329061
by cmorley
Replied by cmorley on topic Keyboard shortcut rempaping
Try this.
in your config folder add folders qtvcp/screens/qtdragon_hd
in the qtdragon_hd folder add this file, name it qtdragon_hd_handler.py
in your config folder add folders qtvcp/screens/qtdragon_hd
in the qtdragon_hd folder add this file, name it qtdragon_hd_handler.py
Please Log in or Create an account to join the conversation.
- CallumRD1
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 3
24 May 2025 23:12 #329082
by CallumRD1
Replied by CallumRD1 on topic Keyboard shortcut rempaping
It doesn't seem to be working. Do I need to call that python file somewhere?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7929
- Thank you received: 2151
25 May 2025 00:44 #329085
by cmorley
Replied by cmorley on topic Keyboard shortcut rempaping
If you run linuxcnc from a terminal, do you see this text?
'Custom subclassed handler loaded for spacebar pause'
sometimes it's a focus problem, try pressing the 'G54' or 'ABS' button (after the program is started.). If that works I will look into why you need to do that.
'Custom subclassed handler loaded for spacebar pause'
sometimes it's a focus problem, try pressing the 'G54' or 'ABS' button (after the program is started.). If that works I will look into why you need to do that.
Please Log in or Create an account to join the conversation.
- CallumRD1
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 3
25 May 2025 02:13 #329086
by CallumRD1
Replied by CallumRD1 on topic Keyboard shortcut rempaping
Thanks for the response. I am getting the line you asked about in the terminal. When I just tried using the space bar pause, it worked in all but one instance. I think you're right, it's a focus issue. In one instance, I had clicked the coolant button and then hit the space bar and the program failed to pause, but I was unable to replicate the behavior in the short session I had to test it this evening. I'll follow up if I'm able to reproduce the failure to pause.
But anyways, thanks for the help with this! I hadn't realized how much I use this feature until I didn't have it. When the tool is plunging rapidly, it's really nice being able to reflexively pause everything to check positions and the distance to go.
But anyways, thanks for the help with this! I hadn't realized how much I use this feature until I didn't have it. When the tool is plunging rapidly, it's really nice being able to reflexively pause everything to check positions and the distance to go.
Please Log in or Create an account to join the conversation.
- CallumRD1
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 3
27 May 2025 21:25 #329276
by CallumRD1
Replied by CallumRD1 on topic Keyboard shortcut rempaping
I have confirmed, there is a focus issue. I need to click G54 or ABS or similar to move focus before the space bar works. That caused one slightly panicky moment when I hit it and nothing happened. (Fortunately, the code was right so it was fine, I just got scared for a moment.) Is there a way to set focus on cycle start or eliminate the need to move focus?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7929
- Thank you received: 2151
29 May 2025 01:25 #329334
by cmorley
Replied by cmorley on topic Keyboard shortcut rempaping
Here is a slightly different file to try. replace the one I gave before.
I think there still will be a focus problem if you click the gcode display then spacebar.
But clicking the window or graphics display should refocus so space bar works again.
If you can confirm these things, I will look further into the gcode display problem.
Focus problems are always a pain!
Thanks
I think there still will be a focus problem if you click the gcode display then spacebar.
But clicking the window or graphics display should refocus so space bar works again.
If you can confirm these things, I will look further into the gcode display problem.
Focus problems are always a pain!
Thanks
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7929
- Thank you received: 2151
29 May 2025 01:28 #329335
by cmorley
Replied by cmorley on topic Keyboard shortcut rempaping
oops here is the new file.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.185 seconds