Adding spindle control to function keys

More
09 Apr 2021 16:21 #205443 by rider-83
Adding spindle control to function keys was created by rider-83
I would like to add spindle control to my Function keys.

F10 = Spindle Stop
F11 = On - Forward
F12 = On - Reverse

Any ideas on how to do this? I've tried a few things, but I don't yet understand the syntax.

Thanks,
Nick.

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

More
09 Apr 2021 17:11 #205446 by aleksamc
Replied by aleksamc on topic Adding spindle control to function keys
As I remember, F9 is spindle - on forward and togle to stop.
For reverse I don't remember.

I also supposed to change keyboard functions in the past but it's a wrong way. It's better to make button input and some control (could be joisticj) and to assign functions to it's buttons.

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

More
09 Apr 2021 20:11 - 10 Apr 2021 17:17 #205466 by rider-83
Replied by rider-83 on topic Adding spindle control to function keys
Negative.
No F9.

Does any one know how this may be done?

Thanks,
Nick..
Last edit: 10 Apr 2021 17:17 by rider-83.

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

More
10 Apr 2021 18:22 - 10 Apr 2021 18:27 #205544 by aleksamc
Replied by aleksamc on topic Adding spindle control to function keys
Sorry, I didn't see that it's Gmoccapy branch.
Look this topic for more information.


From Gmocappy manual I read:

gmoccapy exports several hal pin to be able to react to hardware devices. The goal is to get a GUI that may be operated in a tool shop, completely/mostly without mouse or keyboard.

So if you need keyboard control better use Axis, I think.
Last edit: 10 Apr 2021 18:27 by aleksamc.

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

More
11 Apr 2021 07:59 #205609 by rider-83
Replied by rider-83 on topic Adding spindle control to function keys
I'm using Gmoccapy, not Axis.

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

More
11 Apr 2021 08:48 #205616 by newbynobi
Replied by newbynobi on topic Adding spindle control to function keys
you will need to change the gmoccapy code.

This thread shows witch function to modify:
on key event

Norbert

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

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