New component for keyboards and panels.

More
5 years 8 months ago #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.

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
5 years 8 months ago #200057 by BeagleBrainz
Replied by BeagleBrainz on topic New component for keyboards and panels.
Roughly speaking, not yet looked at code, this is "stuffing" scan codes into the OS ?

Please Log in to join the conversation.

More
5 years 8 months ago #200075 by andypugh

BeagleBrainz wrote: 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"

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
5 years 8 months ago #200079 by BeagleBrainz
Replied by BeagleBrainz on topic New component for keyboards and panels.
Oh yeah I get it.

That's pretty cool.

Please Log in to join the conversation.

More
5 years 8 months ago #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!

Please Log in to join the conversation.

More
5 years 8 months ago #200116 by tommylight

Aciera wrote: 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 to join the conversation.

More
5 years 8 months ago #200478 by andypugh

Please Log in to join the conversation.

More
5 years 8 months ago #200479 by andypugh

andypugh wrote: 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 to join the conversation.

More
5 years 8 months ago #200481 by andypugh

andypugh wrote: 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 to join the conversation.

More
5 years 7 months ago #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

Please Log in to join the conversation.

Time to create page: 0.218 seconds
Powered by Kunena Forum