New component for keyboards and panels.

More
5 years 1 month ago #221686 by RotarySMP
When I set up my martrix_kb, I got the impression that not many people use it, so it is possible no one has tested a matrix such as 9x7. Try it. LinuxCNC will soon tell you if it doesn't like a result.
If you need a worked example, my HAL has a 5x5 matrix, It gets created in my HAL, and then used in my Postgui Hal. Both can be found attached to the first couple of posts in this thread.
forum.linuxcnc.org/12-milling/33035-retr...-maho-mh400e?start=0

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

More
5 years 1 month ago #221688 by nkp
The fact of the matter is that I tried to use 9x7s. 8 rows Ok, and the ninth does not work.
The following user(s) said Thank You: RotarySMP

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

More
5 years 1 month ago - 5 years 1 month ago #221707 by RotarySMP
8x8=64
9x7=63

Does an 8x8 work for you? you dont have to populate every switch. I have a 5x5 but only use about 21.
Mark
Last edit: 5 years 1 month ago by RotarySMP.

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

More
5 years 1 month ago - 5 years 1 month ago #221761 by nkp
Code:
Del
 
Last edit: 5 years 1 month ago by nkp.

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

More
3 years 2 months ago #277448 by COFHAL
I have my 7i73 configured for a 4x8 keyboard with LCD. From what I've read I can use the SENDKEYS component both to generate a virtual keyboard and to generate HAL pins. In the example of the SENDKEYS component, what is not clear to me is how they are physically connected to the Keys inputs in /i73 and if the Matrix_Kb function must also be defined.

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

More
3 years 2 months ago #277451 by PCW
If you want to directly control hal pins in real time with the 7I73
you would use the matrix_kb component. If you want 7i73 key events
to send normal keystroke events you can just use the sendkeys.
If you want both (real time hal pins from 7I73 in addition to normal keystroke
events) you can use both matrix_kb plus sendkeys

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

Time to create page: 0.072 seconds
Powered by Kunena Forum