How to enable mouse for Raspberry pi

Trying play DOS/PC98 games. I can only emulate mouse with joypad, how to enable real mouse?