You can set up a keyboard and mouse on your PS4 to browse the web and play games, but not every game will support it.
You can connect a wireless mouse using Bluetooth on a Mac or PC. Here's how to do it in a few quick steps.