I've got a hagstrom KE-24 keyboard encoder that is PS/2 only (9-pin din(large)) - will work with older/legacy PCs. Programmable via the keyboard port or RS232-serial - can be set in matrix mode for up to 144 inputs or 24 discrete inputs. $20 shipped anywhere in the continental US.