This article explains how to connect wired and wireless keyboards and mice, adjust keyboard and mouse settings, and work around games that don't directly support a mouse and keyboard.
How to Use Keyboard and Mouse on Playstation 4 (2024)
Connecting a keyboard and mouse to your PlayStation 4 is simple: simply plug the keyboard or mouse into the USB port on the front of your PS4.
The PS4 will recognize most devices immediately and display a flashing keyboard or mouse icon on the screen to indicate that the connection has been established.
The PS4 also supports connecting a USB hub to one of its USB ports, expanding the number of USB devices you can connect to your console. If you want to use a wired keyboard and mouse and still charge your controller or external drive via USB, use a USB hub.