This article explains how to use a keyboard and mouse on Xbox One. Not every game is compatible out of the box. However, a third-party product ensures that every game can interpret keyboard and mouse commands, regardless of who you buy the accessories from.
How to Use Keyboard and Mouse on XBOX One (2023)
Connecting a keyboard to your Xbox One is pretty simple. Simply configure your mouse with your controller to get it working. The information in this article applies to all Xbox One models, including the Xbox One X and Xbox One S.
Connect a compatible wired or wireless keyboard to an available USB port on your Xbox One. The keyboard should work automatically.
Connect a compatible wired or wireless mouse to an available USB port on the console.