- Posts: 94
- Thank you received: 0
Matrix Keyboard controlling LinuxCNC
- AlexMagToast
- Topic Author
- Offline
- Premium Member
-
Less
More
3 years 6 days ago #283733
by AlexMagToast
Replied by AlexMagToast on topic Matrix Keyboard controlling LinuxCNC
Thanks,
this looks to be pretty clearly to be a bug in the code.
For some reason the Value is not written, my guess is that the if statement in Line 410 does not come true for some reason.
I added a couple more prints to the file, to maybe understand why it is not working.
Would you mind testing it for me? (i only have my phone available right now, sorry)
this looks to be pretty clearly to be a bug in the code.
For some reason the Value is not written, my guess is that the if statement in Line 410 does not come true for some reason.
I added a couple more prints to the file, to maybe understand why it is not working.
Would you mind testing it for me? (i only have my phone available right now, sorry)
Please Log in to join the conversation.
3 years 6 days ago #283745
by COFHAL
The problem continues, now the following appears in the DEBUG when playing with any Lpot:
setting Value
I received:L4:7
l
4
7
2
2
l
4
7
3
1
l
4
7
4
1
Replied by COFHAL on topic Matrix Keyboard controlling LinuxCNC
Attachment not found
setting Value
I received:L4:7
l
4
7
2
2
l
4
7
3
1
l
4
7
4
1
Please Log in to join the conversation.
- AlexMagToast
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 94
- Thank you received: 0
3 years 6 days ago #283752
by AlexMagToast
Replied by AlexMagToast on topic Matrix Keyboard controlling LinuxCNC
well .. as always the Bug is caused by stupid little things.
I am sorry for this, but it is fixed now.
I'll also update the code on Github shortly. But meanwhile here is your code.
Thank you for the testing service
I am sorry for this, but it is fixed now.
I'll also update the code on Github shortly. But meanwhile here is your code.
Thank you for the testing service
Attachment not found
Please Log in to join the conversation.
3 years 6 days ago #283755
by COFHAL
Replied by COFHAL on topic Matrix Keyboard controlling LinuxCNC
Thanks, I'll try it tomorrow.
Please Log in to join the conversation.
3 years 5 days ago #283823
by COFHAL
Replied by COFHAL on topic Matrix Keyboard controlling LinuxCNC
Thank you so much. Now the Lpot is functional. Now I have another question. I am using the Keypad function all in mode 1, that is, as if I were pressing a key in Linux. but I have problems, for example with the key. (Dot), if I program it as "dot· or "." and press this key in debug an error appears, that is, it does not write a dot. Another problem that I have found is that if I use a key combination, such as Ctrl -space which in axis is used to delete error messages, for example, this combination does not work as such. Where you can find a list of how special characters or control keys should be programmed.
Please Log in to join the conversation.
- AlexMagToast
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 94
- Thank you received: 0
3 years 5 days ago #283849
by AlexMagToast
Replied by AlexMagToast on topic Matrix Keyboard controlling LinuxCNC
the script in use to emulate key presses is called xdotool. Unfortunately i have not found a perfect list yet, but usually you can find help be utilising google for the wanted usecase.
Also i find this to be useful: www.linux.org/threads/xdotool-keyboard.10528/
the dot is "period",
i guess the corrrect input for your combination should be "ctrl + space"
I am glad the Lpoti works now as intended. Thanks again for finding this bug.
Also i find this to be useful: www.linux.org/threads/xdotool-keyboard.10528/
the dot is "period",
i guess the corrrect input for your combination should be "ctrl + space"
I am glad the Lpoti works now as intended. Thanks again for finding this bug.
Please Log in to join the conversation.
3 years 2 days ago #284011
by panming
Replied by panming on topic Matrix Keyboard controlling LinuxCNC
Alex,My procrastination seems to have eased a bit, and I turned in my homework.
Please Log in to join the conversation.
- AlexMagToast
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 94
- Thank you received: 0
3 years 1 day ago #284017
by AlexMagToast
Replied by AlexMagToast on topic Matrix Keyboard controlling LinuxCNC
this is awesome, thank you panming!
Do you allow me to use your footage in a future Video to explain the functionality?
Do you allow me to use your footage in a future Video to explain the functionality?
Please Log in to join the conversation.
3 years 1 day ago #284019
by panming
Replied by panming on topic Matrix Keyboard controlling LinuxCNC
Sure, it's my pleasure. If there's anything else you need me to offer, I can. By the way,
Please Log in to join the conversation.
Time to create page: 0.487 seconds
