Re-engineer version of Rubber Ducky Encoder