This keyboard incorporates the key contacts, scanning matrix and control circuitry all on one large PC board. In this case, it's just a matter of cutting out the control circuitry (inside the dotted yellow line) and discarding the rest.
There are many situations
where it's convenient to have a PC running without a keyboard or
monitor connected. For example, you might have a network PC that functions as a
dedicated Internet gateway or as a file and printer server. Or perhaps you have
an old PC that controls a watering system or security lights around your
home.
In those cases, you usually leave the PC running continuously -
perhaps stacked on a shelf or tucked out of sight in a cupboard or in the
garage. And because the machine isn't being accessed, you don't want a keyboard
or monitor hogging valuable space.