Hi,

Thank you for contacting Microsoft Community.

I understand that you want to automate mouse and keyboard.

I would suggest you to go through the below link and check if it helps:

Make the mouse easier to use

http://windows.microsoft.com/en-us/windows/make-mouse-easier-to-use#1TC=windows-7

Using your mouse

http://windows.microsoft.com/en-in/windows/using-mouse#1TC=windows-7

For key board you may need to use the third party program.

Note: Using Third Party Software, including hardware drivers can cause serious problems that may prevent your computer from booting properly. Microsoft cannot guarantee that any problems resulting from the use of Third Party Software can be solved. Using Third Party Software is at your own risk.

Please post back with the status of the issue and we will be glad to assist you further.