enabling/disabling of controls in hardware mode