Do you want to emulate the AT keyboard ? Need to fool the PC with mouse inputs directly from your Atmel??
Then this is for you !!
Two add-on BascomAvr libraries allows you to simulate keyboard keystrokes and mouse messages.
Look in the Bascom help for support about the sintaxis and usage: PS2MOUSE_EMULATOR and AT_EMULATOR.