Windows macro recorder is a handy utility that automates repetitive and tedious tasks on computers. With macro recorder software, you can record and replay mouse clicks and movements, keyboard key presses. Asoftech automation is one of the best Windows macro recorder software. It's not just a keyboard and mouse recorder but a powerful automation tool that converts macros to EXE files. The easy macro recorder is able to record and play back macros for all Window applications. Read more info: Macro Recorder Screenshot
You may also consider Asoftech Auto Clicker which is simple mouse clicker tool to automate mouse click software, download free trial from: Auto Mouse Clicker Here's a video demo
You can use it for your game playing, automatic testing, etc.