Refactor GenericHID Python test script code to make user specific adjustments easier.