Beaglebone Black as HID emulator from Laptop

Hello, i want send packets from laptop via ethernet throught BBB to other PC USB…like HID emulator.
How possible to do it?