Android TV Controller events

Does anyone here have experience publishing to Android TV?   A concern that I have is if the controller events are universal among all the different manufacturers which support Android TV (i.e. Samsung, Sony, Sharp, Nexus Player, etc).  Below is a list of controller events found here on the site:

codes[19] = 'up' codes[20] = 'down' codes[21] = 'left' codes[22] = 'right' codes[4] = 'back' codes[82] = 'menu' codes[96] = 'a' codes[97] = 'b' codes[99] = 'x' codes[100] = 'y'

Is it safe to expect these events to be the same across all devices and controllers? Or might different manufacturers use different keycodes?

@JonPM,

Rob/Brent/Other Staff may correct me, but I think you’d be better off using the event names and not id codes.  Having said that, it has been a while since I dabbled here.  Its on my list for GDT after I get Apple TV knocked out of the park.

@roaminggamer

Thanks for the response.  I guess same question would apply to event names as well.  Are they universal among all Android TV devices and controllers?  

We have tried to standardize the names where possible.

@JonPM,

Rob/Brent/Other Staff may correct me, but I think you’d be better off using the event names and not id codes.  Having said that, it has been a while since I dabbled here.  Its on my list for GDT after I get Apple TV knocked out of the park.

@roaminggamer

Thanks for the response.  I guess same question would apply to event names as well.  Are they universal among all Android TV devices and controllers?  

We have tried to standardize the names where possible.