Question: PokittoRemote


#1

@FManga : could you explain shortly how you did the PokittoRemote?

Is it a custom USB class or some kind of USB serial?


#2

It’s based on USB serial, though I made a lot of changes to the serial code for performance reasons. The Pokitto sends an update request, which contains the state of all the buttons and the PC responds with the state of the screen.
Instead of reading data into a buffer (as BufferedSerial does by default), it gets copied directly to the LCD.

On the PC side I used NW.js, which is like Electron.js but can talk to serial devices without a plugin. To fake keyboard input I used Robot.js.