key codes for precalibrated devices; more device management backend work #170