How to enumerate keyboard and mouse

Hi,
Can u please tell me how to enumerate keyboards and mouse ?

For starting a serial keyboard I run the following command in my
configuration file :

device(pnpbios,.type=09,.subtype=00)
requres(devi-hirun,kbd fd -d/dev/kbd)

But it can’t run the driver for ps2 keyboard.So the command that i m
running
after device() should be general to run the appropriate driver
corresponding to the keyboard attached to the pc.

I require the same thing for mouse also.

Thanking u

(Jitendra)