- Posts: 224
- Thank you received: 0
Backspace key identifier - Solved
2 years 1 month ago #310900
by slowpoke
Backspace key identifier - Solved was created by slowpoke
I'm have a .py script that sends keystrokes to LinuxCNC.
Basically you define the the keystroke in one array for example:
sendArray { "G1", "X", "space"} etc.
Then in a matching array you specify if that item should be sent as text or as a keystroke, so for the above example "G1" and "X" would be specified as 2, 2 means just send as text, "space" would be specified as type 1 and "space" would be sent as if you pressed the space bar key.
I have this working for all desired keys except the backspace key.
I'm not sure what the correct text is for the backspace key, I have tried:
backspace
Backspace
Back Space
back space
None of these are correct
I struggled with the Enter key earlier until I tried "Return" and that works, so just the backspace key is unknown at this point.
Where can I find the correct definition that invokes the backspace key?
I'm using this with Axis if that matters.
Edit: solved the correct sequence is "BackSpace"
Basically you define the the keystroke in one array for example:
sendArray { "G1", "X", "space"} etc.
Then in a matching array you specify if that item should be sent as text or as a keystroke, so for the above example "G1" and "X" would be specified as 2, 2 means just send as text, "space" would be specified as type 1 and "space" would be sent as if you pressed the space bar key.
I have this working for all desired keys except the backspace key.
I'm not sure what the correct text is for the backspace key, I have tried:
backspace
Backspace
Back Space
back space
None of these are correct
I struggled with the Enter key earlier until I tried "Return" and that works, so just the backspace key is unknown at this point.
Where can I find the correct definition that invokes the backspace key?
I'm using this with Axis if that matters.
Edit: solved the correct sequence is "BackSpace"
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
2 years 3 weeks ago #311778
by tommylight
Replied by tommylight on topic Backspace key identifier - Solved
Bump to remove it from the "no replies" list.
Thank you.
Thank you.
Please Log in to join the conversation.
Time to create page: 0.069 seconds
