[RDY] Recognize mouse events for abstract_ui

Complementing #1605, this opens the possibility of sending mouse events via the API
The old code also handled `MOUSE_SHIFT`, `MOUSE_CTRL`, etc. Is that handled elsewhere, or it's just out of scope for this PR?