Before I start to jump into setting up device detection for Sitecore there is two option available 51Degree and Sitecore device detection service.
I've used 51Degree for Sitecore 7.5 but not able to find any information related to the latest version of Sitecore i.e 8.0 on wards.
Are they still supporting Sitecore ? or discounted?
Thanks
I consider this a software architecture question...
There are a couple of GitHub repos around, but I would suggest 3Chillies Device Detection for Sitecore 8
The foundation of Sitecore is .net, and with the pipeline available you should in theory be able to extend anything. Like Anton said, most of the core api's have not changed.
I have not found a 'out of the box' solution. But maybe this is a good place to start.