GPM software provides support for mouse devices in Linux virtual consoles. It is included in most Linux distributions.