set INPUT_RES from message that input sends