Can a Hardware Keylogger Capture a Laptop's Built-in Keyboard?

No. Hardware keyloggers only capture external keyboards connected over USB. Built-in laptop keyboards cannot be reached.

Hardware keyloggers sit inline on the USB connection between a keyboard and a computer. That design has one firm limit.

External USB keyboards only

These devices work only with external keyboards connected via USB. A laptop's built-in keyboard is wired directly to the internal board — there is no USB cable to insert a logger into, so it cannot be captured.

Bottom line

To use a hardware keylogger with a laptop, connect an external USB keyboard and place the logger on that connection.