SIM_MATRIX_KB(9)
π SIM_MATRIX_KB π
okay bestie, so this is a HAL Component from the <rainbow>LinuxCNC</rainbow> docs, and it's literally the little glow-up machine that turns HAL pin inputs into keycodes. yes, keycodes. like, you press a thing, it says a number. iconic behavior honestly. π
β¨ NAME β¨
sim_matrix_kb β convert HAL pin inputs to keycodes
like the name says!! matrix. keyboard. simulation. it's giving "pretend keyboard that lives inside your HAL config" and we're obsessed. π
β¨ SYNOPSIS β¨
loadrt sim_matrix_kb [count=N|names=name1[,name2...]]
that's it, that's the whole summoning ritual. you loadrt it, you tell it either count=N (gimme N of these) or names=name1[,name2...] (gimme these specific ones by name), and boom, she's alive. no cap. π¦
β¨ FUNCTIONS β¨
sim-matrix-kb.Nβ requires a floating-point thread. like, she will NOT run on an integer thread, bestie. do not try it. that's a hard requirement, fr fr. πΈ
β¨ PINS β¨
okay this is the juicy part. here's every single pin, no skips, no cuts, we keep them ALL. π
sim-matrix-kb.N.outu32outβ the pin that outputs the Keycode. this is the moment. the main character. she spits out the keycode and everyone claps. πsim-matrix-kb.N.button.c00.rMMbitin(MM=00..07) β array of inputs. columnc00, rowsMMgoing from00all the way to07. πsim-matrix-kb.N.button.c01.rMMbitin(MM=00..07) β array of inputs. columnc01, rowsMM=00..07. πsim-matrix-kb.N.button.c02.rMMbitin(MM=00..07) β array of inputs. columnc02, rowsMM=00..07. πsim-matrix-kb.N.button.c03.rMMbitin(MM=00..07) β array of inputs. columnc03, rowsMM=00..07. πsim-matrix-kb.N.button.c04.rMMbitin(MM=00..07) β array of inputs. columnc04, rowsMM=00..07. πsim-matrix-kb.N.button.c05.rMMbitin(MM=00..07) β array of inputs. columnc05, rowsMM=00..07. πsim-matrix-kb.N.button.c06.rMMbitin(MM=00..07) β array of inputs. columnc06, rowsMM=00..07. πsim-matrix-kb.N.button.c07.rMMbitin(MM=00..07) β array of inputs. columnc07, rowsMM=00..07. π
π«Ά quick vibe check: that's eight columns (c00βc07) and for each column the rows run00..07. soc00.r00,c00.r01, ...c07.r07. allbittype, allin. theNinsim-matrix-kb.Nis the instance number from yourcount=/names=situation above. iykyk. β¨
β¨ AUTHOR β¨
Chris S Morley β shoutout to the legend who made this. thank you for your service, king. ππ
β¨ LICENSE β¨
GPL β that's the license, bestie. free as in freedom, slay. π
and that's the whole page!! you ate that. ππ¦
this was from the <purple>LinuxCNC Documentation</purple>, dated <cyan>2026-03-17</cyan>, and the manual page itself is SIM_MATRIX_KB(9) β periodt. π
β¨
π¦ where this page comes from
- ubuntu resolute: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- ubuntu stonking: linuxcnc-uspace 1:2.9.4-2ubuntu4 Β· GFDL-1.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms