Input Device Test sample application demonstrates how to handle TV remote control buttons using TV Input Device API.