Updating to using a different major device code and refactoring some of the sendkey code.