It can learn any codes you want to use. I programmed a URC remote the other day for one, and they have a codeset labeled 4th Gen Apple TV. I do not think the codes worked though, until I learned them into the Apple TV. YMMV.
"When I eat, it is the food that is scared." - Ron Swanson