Beaglebone with Teensy with Touch Screen

What would be the steps for me to create numberpad application on the beaglebone that I can run on a touch screen and connect the beaglebone to my pc and read the input as a HID device, in a way creating a mini keyboard on the beaglebone and “emulating” a keyboard for a windows PC ?

My first inclination was attaching a teensy to the beaglebone and send the pressed values to the teensy and the teensy processes it and sends it as ASCII values to the PC. Would this be the best way to approach this problem ?

I have no experience with the beagleboard just on an Arduino.

Thanks