I have an old Xbox One from 2013, those controllers do not have Bluetooth, so I bought this beauty instead last year for Xcloud and GFN:
Now, this one is for Xbox One S and Xbox One X, so has Bluetooth. It was not working, input was registered, but the keymap was completely off. After some googling or duckduckgoing I found this: