/keyRecorder

Record keyboard and mouse inputs for Windows.

Primary LanguageGo

keyRecorder

A tool that records keystrokes, and outputs them as a keyScripter script. It uses the Win32 GetAsyncKeyState API to read key states from the OS.

Usage

Basic usage:

keyRecorder output.txt

By default, it will record keys until the escape key is pressed. To change this to a different key use the -s option with a virtual key code. For example, to use the backspace key:

keyRecorder output.txt -s 8

You can ignore certain keys by passing the -i option with a virtual key code. This argument can be specified multiple times. For example, to ignore left mouse clicks and enter:

keyRecorder output.txt -i 1 -i 13