New component for keyboards and panels.

More
25 Feb 2021 00:56 #200047 by andypugh
linuxcnc.org/docs/2.8/html/man/man1/sendkeys.1.html

A poor quality video proving that it works:


It can take either 7i73-style scancodes from a 7i73 or from matrix_kb, and can also generate key events from plain bit HAL pins.

Intended for MDI keyboards and GUI interaction. Use to control actual machine movements is very much discouraged.
The following user(s) said Thank You: RotarySMP, phillc54, nkp, danilom, tommylight, rodw, COFHAL, SOLD, BeagleBrainz

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

More
25 Feb 2021 05:14 #200057 by BeagleBrainz
Roughly speaking, not yet looked at code, this is "stuffing" scan codes into the OS ?

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

More
25 Feb 2021 09:22 #200075 by andypugh

Roughly speaking, not yet looked at code, this is "stuffing" scan codes into the OS ?


Not exactly. The HAL component tells the system that it is a USB keyboard, "and here are some key events"
The following user(s) said Thank You: BeagleBrainz

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

More
25 Feb 2021 10:43 #200079 by BeagleBrainz
Oh yeah I get it.

That's pretty cool.

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

More
25 Feb 2021 16:08 - 25 Feb 2021 16:12 #200106 by Aciera
Interesting!
In the man page, this link is not working for me though:
wiki.linuxcnc.org/cgi−bin/wiki.pl?Scancodes


And thanks for sharing this!
Last edit: 25 Feb 2021 16:12 by Aciera.

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

More
25 Feb 2021 17:11 #200116 by tommylight

In the man page, this link is not working for me though:
wiki.linuxcnc.org/cgi−bin/wiki.pl?Scancodes

Still 404.

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

More
28 Feb 2021 22:44 #200478 by andypugh

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

More
28 Feb 2021 22:49 #200479 by andypugh

wiki.linuxcnc.org/cgi-bin/wiki.pl?Scancodes

Looks like an issue with hyphens.


It's an ASCII 2D minus sign in the source code.
I need to se how to force asciidoc to not convert to hyphen.

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

More
28 Feb 2021 23:01 #200481 by andypugh

It's an ASCII 2D minus sign in the source code.
I need to se how to force asciidoc to not convert to hyphen.


And the URL is fine in the html docs generated on my test machine too!

I am a bit stumped.

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

More
01 Mar 2021 09:11 - 01 Mar 2021 09:18 #200516 by Aciera

Looks like an issue with hyphens.


Exactly the hyphen in the link I posted is a bit longer then in the one you posted.
This seems to be the same issue that has come up a few times when people copy/paste HAL pin names from man pages into their HAL files and the pin names are not recognized because the hyphen is a bit longer. I wonder if it depends on the users PC though because I'm sure a lot of people do that and the issue does not come up very often in the forum.

How can there be two different hyphens?
ASCII code 45 = - ( Hyphen , minus sign )
The only other similar symbol I see is this. But it seems much longer.
ASCII code 196 = ─ ( Box drawing character single horizontal line )

[edit]
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

Last edit: 01 Mar 2021 09:18 by Aciera.

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

Time to create page: 0.124 seconds
Powered by Kunena Forum