- Posts: 7368
- Thank you received: 2181
New component for keyboards and panels.
- cmorley
- Offline
- Moderator
-
Andy's work (as I understand it) allows projection of keyboard keystrokes to the system.
Please Log in or Create an account to join the conversation.
- RotarySMP
- Offline
- Platinum Member
-
- Posts: 1635
- Thank you received: 595
Do you have an old keyboard from an industrial CNC to integrate? Shame I swapped my Maho panel to someone who needed it on their working Phillips.
It would be a big asset to new users (and even advanced users) to do a step by step video on how to identify a matrix key pad, how to wire it into a 7i73, and then how to integrate it into the HAL.
Mark
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
Aciera wrote:
Ok, wikipedia just told me that in unicode there are a few different symbols:
There are at least eight different horizontal dash-like characters of varying lengths defined in Unicode
Pasting the URL above into (the very useful) hexed.it:
So something, somewhere, is converting the minus to a unicode hyphen.
It doesn't do it on my machine, which makes it hard to fix.
The toolchain takes the asciidoc-formatted linuxcnc-dev/docs/src/man/man1/sendkeys.1.txt and converts it into a troff manpage.
The manpage is then converted to HTML. (which is why the URL isn't rendered as a link). I imagine that it is the second phase that converts the minus to a hyphen.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
cmorley wrote: You can do this already. panelui was made with that in mind
Embarassingly, I had forgotten about panelui.
What sendkeys can do is either create a system keystroke from a scancode - not covered by panelui or send a keystroke when a HAL bit pin toggles - completely unrelated to panelui.
It is perfectly possible to take a 7i73 scancode into matrix_kb (to trigger bit pins) and to sendkeys (to send keystrokes) and also into panelui (to do all the things that panelui can do)
matrix_kb in matrix scan mode can output a hal-bit per key, and the scancode output can be connected to panelui (to toggle bits _and_ other things) and also to sendkeys to send keycodes.
It might make sense to add keystroke sending to panelui. This would lead to some redundancy, but having a baffling variety of ways to achieve any desired result seems to be the LinuxCNC Way.
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
-
- Posts: 4819
- Thank you received: 2177
The toolchain takes the asciidoc-formatted linuxcnc-dev/docs/src/man/man1/sendkeys.1.txt and converts it into a troff manpage.
The manpage is then converted to HTML. (which is why the URL isn't rendered as a link). I imagine that it is the second phase that converts the minus to a hyphen.
This seems to be a known bug with UTF-8 conversions. Maybe the use of hyphen/minus should be avoided altogether.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
Aciera wrote: This seems to be a known bug with UTF-8 conversions. Maybe the use of hyphen/minus should be avoided altogether.
It's a bit late now, every HAL file out there is full of them.
Please Log in or Create an account to join the conversation.