Add support for [R]PS2 and PS3 prompts

Fixes #771