DaxTheGas,
OK, I read the LUA document and they mentioned the best way to implement things was via Registers. They said to go to the MACH4 diagnostic page and click on Register Diagnostics, this is a realtime view of the registers defined and their contents.
POKEYS shows up.
Encoder values, Analog inputs, counters, debug?, LCD Line 1-4, PWM duty cycle, etc.
My hunch was correct much of this is available via registers. What I did not find was the MATRIX implementations for the keyboard and LED. I need to keep digging because clearly the plugin implements much of this info making it available to the core.
Russ