Both Xbox One[1] and Playstation 4 [2] support keyboard an mouse input. However, irrc the games have to choose to support it, so there does not appear that there'd default mappings for the keyboard (which kind of makes sense).
I think there are some games on both platforms giving you the option to use keyboard and mouse, most don't. But with the arrival of the new generation, maybe more developers decide to implent this feature.
[1] https://beta.support.xbox.com/help/Hardware-Network/accessor... [2] https://support.playstation.com/s/article/Use-Keyboard-and-M...