@zacho95 Also another thing you can try is powering off the console, pulling the power cord/power supply, press the power button on the Xbone a couple of times to drain it, and then reboot and retry.
I used to get paid to do this shit for Microsoft :)
When you connect a controller to an XBONE via wired or wireless, it saves the ID of the console in the controller's memory, so if it is not connecting to it after all of these steps, it is probably the wireless functionality on the controller that is dead (in all my years of working we have not had the wireless adapter on the console side break). I have seen a lot of those original controllers break over the years :)
Also if you have a friend with an XBONE, try to pair it to that console
The PS3 controller can only be synced to one device at a time. It remembers the Mac address of the device it's synced to. Nice thing is once synced to a pi, all you have to do is plug it in via USB on the pi, press the ps button and then unplug. To go back to PS3, plug the USB into the PS3, press the ps button then unplug.